-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Check for all different packages of opencv #2901
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
Conversation
Check for all different packages of opencv
|
The documentation is not available anymore as the PR was closed or merged. |
|
cc @pcuenca @sayakpaul @williamberman what do you think here? |
|
This looks ok/good to me |
sayakpaul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good one. Thanks a lot!
pcuenca
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
The existing check for opencv only covers the main package
opencv-python. However, there exist four different packages for opencv:opencv-python- main packageopencv-contrib-python- full package (comes with contrib/extra modules)opencv-python-headless- main package without GUIopencv-contrib-python-headless- full package without GUIThis PR ensures that
diffuserswill not raise import error when using cv2-related functions as long as they have installed any of the packages above.