-
Notifications
You must be signed in to change notification settings - Fork 138
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
Request: make opencv-contrib an optional dependency #308
Comments
Do you think to an alternative solution where we could make it optional in some situations where this is explicitly requested? |
I don't know what features require the use of OpenCV contribs in PyPot. Strangely, a comment in your But My opinion is that using cameras and OpenCV should not be a requirement when your needs boils down to merely communicate with Dynamixel servos, so there should be a way to install pypot without it. (I forked it, removed opencv dependency and pushed it as |
OpenCV is used by pypot/sensors/*, and more especially in OpenCVCamera that is loaded on all Poppy-* robots by default (e.g. here for Poppy Ergo Jr robot). Therefore, deleting the requirement to OpenCV in the setup file would break all installations of
Pypot does much more than just communication with Dynamixel motors :) But I get the idea. I don't know much the behavior of |
Yes, if Another way would be to:
|
In a project with students, the installation of pypot on a Raspberry Pi takes very long because of the dependency with
opencv-contrib-python
.I think it should be possible to use Pypot without this external dependency since people using a library to communicate with Dynamixel devices don't necessary need OpenCV's contrib. Maybe this should move to
extra_requires
, where pypot features using opencv contrib (which I don't know) would then be unavailable.The text was updated successfully, but these errors were encountered: