python_brisk_demo icon indicating copy to clipboard operation
python_brisk_demo copied to clipboard

AttributeError: 'module' object has no attribute 'DescriptorExtractor_create'

Open RevanthKausikan opened this issue 6 years ago • 3 comments

Can you help me with this, please?

RevanthKausikan avatar Apr 14 '18 08:04 RevanthKausikan

try installing opencv-contrib inside a virtualenv

reddytocode avatar Aug 16 '19 15:08 reddytocode

I have installed with "pip install opencv-contrib-python", but it still said: AttributeError: module 'cv2.cv2' has no attribute 'DescriptorExtractor_create'

zzpbuaa avatar Sep 22 '20 02:09 zzpbuaa

I have installed with "pip install opencv-contrib-python", but it still said: AttributeError: module 'cv2.cv2' has no attribute 'DescriptorExtractor_create'

I'm not sure why you got that. I just tried installing in a miniconda environment of py38 and it worked fine. It may be that you have conflicting versions with the regular opencv-python and opencv-contrib-python? I'm not sure. You would need to file an issue / ask with opencv-python owner. First I recommend trying a clean environment. Miniconda is great for scientific computing with python and other systems.

kobejohn avatar Sep 22 '20 04:09 kobejohn