QuickBirdEng / opencv-android

Easy way to integrate OpenCv into your Android project via Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Camera crashes

forest-jj opened this issue · comments

version: opencv:4.1.0-contrib
Call the camera program to crash

commented

@forest-jj Can you please elaborate it more.

E/cv::error(): OpenCV(4.1.0) Error: The function/feature is not implemented (This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library) in create, file /Users/sellmair/Sources/sellmair/opencv_contrib/modules/xfeatures2d/src/surf.cpp, line 1029

E/org.opencv.xfeatures2d: xfeatures2d::create_10() caught cv::Exception: OpenCV(4.1.0) /Users/sellmair/Sources/sellmair/opencv_contrib/modules/xfeatures2d/src/surf.cpp:1029: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'create'

commented

@forest-jj Can you try using OpenCV 4.0.0 to check if the crash still occurs? Can you also post a sample project that I can use to reproduce this issue?

commented

@forest-jj Can you try OpenCV 4.2.0 or 4.3.0 to see if this issue still occurs? I am closing this issue but feel free to open a new issue if there is the same issue with 4.2.0 or 4.3.0