Closed
Description
Hello,
with the recent update, in Opencv 3.4.3, the non-free algorithms such as SIFT and SURF are no more available.
>>>importcv2>>>cv2.__version__'3.4.3'>>>cv2.xfeatures2d.SIFT_create() Traceback (mostrecentcalllast): File"<stdin>", line1, in<module>cv2.error: OpenCV(3.4.3) /io/opencv_contrib/modules/xfeatures2d/src/sift.cpp:1207: error: (-213:Thefunction/featureisnotimplemented) Thisalgorithmispatentedandisexcludedinthisconfiguration; SetOPENCV_ENABLE_NONFREECMakeoptionandrebuildthelibraryinfunction'create'>>>cv2.xfeatures2d.SURF_create() Traceback (mostrecentcalllast): File"<stdin>", line1, in<module>cv2.error: OpenCV(3.4.3) /io/opencv_contrib/modules/xfeatures2d/src/surf.cpp:1016: error: (-213:Thefunction/featureisnotimplemented) Thisalgorithmispatentedandisexcludedinthisconfiguration; SetOPENCV_ENABLE_NONFREECMakeoptionandrebuildthelibraryinfunction'create'
As the error messages say, the library should be recompiled with -D OPENCV_ENABLE_NONFREE=1
.
Would it be possible to reintroduce these algorithms in the pip package?
Metadata
Metadata
Assignees
Labels
No labels