-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
opencv-contrib-python-headless as requirement #3403
Comments
Hi @maxstrobel, Could you please provide the steps to reproduce and more information about the issue. Thank you |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
@kuaashish I just ran into the same problem. I can provide some steps to reproduce the issue and give some further information. mediapipe currently has opencv-python-contrib as a dependency which starting with version 4.3.0.38 is not working in headless environments anymore (cf. opencv/opencv-python#370) . So in a docker setup, mediapipe won't be working anymore. Therefore it would be nice to either use the headless version in all cases or to also be able to specify a headless version for mediapipe. Build a docker image with
and then execute: |
Is it possible to reopen this or should I open a new issue? |
Hi @gentnm, Please raise a new issue with mentioning the reference of this issue. Thank you! |
System information (Please provide as much relevant information as possible)
Describe the feature and the current behavior/state:
Currently opencv-contrib-python is installed as requirement. If you want to use mediapipe inside a Docker container huge images are required, because of GUI dependencies.
Proposal: Use opencv-contrib-python-headless as requirement, which is slimmer & works without the heavy dependencies.
Will this change the current api? How?
No.
Who will benefit with this feature?
Python users that develop / deploy inside Docker containers.
Please specify the use cases for this feature:
Development / deployment of the Python mediapipe package inside Docker containers.
Any Other info:
The text was updated successfully, but these errors were encountered: