Installing from source with a compiled version of OpenCV #1039
Unanswered
KostadinovShalon
asked this question in
Feature Requests
Replies: 1 comment 3 replies
-
Nice one! Thanks for the feedback @KostadinovShalon! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have been recently working with a compiled version of OpenCV (with GPU capabilities) and anomalib. I realized that if I install locally via cloning the repository and performing
pip install -e .
then OpenCV is installed again (removing my compiled installation).I suggest checking if OpenCV is installed using the setup.py script, as it is done here in mmcv. At the moment, I had to remove the requirement from requirements/base.txt, but I think that checking for cv2 in setup.py is cleaner.
Beta Was this translation helpful? Give feedback.
All reactions