Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Include non-free algorithms #126

Closed
Closed
@sinecode

Description

@sinecode

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp