Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Improve Visualizer Rendering Speed with OpenCV Backend #1101

Open
Ben-Louis opened this issue Apr 24, 2023 · 2 comments
Open

[Feature] Improve Visualizer Rendering Speed with OpenCV Backend #1101

Ben-Louis opened this issue Apr 24, 2023 · 2 comments

Comments

@Ben-Louis
Copy link
Contributor

What is the feature?

The current rendering methods of Visualizer are slow, making it challenging to support real-time applications such as MMPose's webcam demonstrations. Could you please enhance the rendering methods by incorporating an OpenCV backend, similar to how the show method operates. We have tested the Visualizer rendering method, which includes drawing human poses on images using draw_circles and draw_lines functions, and found that the average speed for drawing a single human pose is 0.1 seconds. By utilizing OpenCV to implement the rendering methods, we have observed an increase in speed over 100 times faster.

Any other context?

No response

@Om-Doiphode
Copy link

Hi @Ben-Louis, I would like to work on this issue, can you guide me on how to get started with it?

@Ben-Louis
Copy link
Contributor Author

Hi @Om-Doiphode, you might have to create a new class of Visualizer and overwrite the required methods using OpenCV. You can take reference from OpencvBackendVisualizer at open-mmlab/mmpose#2283 which has already implemented some methods. It might be helpful in guiding your implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants