Installation/import problem -- 'xfeatures2d module is not available' #111
Unanswered
stevenjayfrank
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've hit a dead end attempting to import Valis following installation. Importing results in an
AttributeError: module 'cv2' has no attribute 'xfeatures2d'
. This is not a new problem and the most common solution is to installopencv-contrib-python
rather thanopencv-python
. Unfortunately thexfeatures2d
seems to be unavailable in any opencv distribution compatible with current (or even recent) version of Python. I've tried installing under Windows 11 (which had even more problems) and Linux. Suggestions appreciated.Beta Was this translation helpful? Give feedback.
All reactions