OpenCV 4.7.0 calls SURF::create to solve the error problem

When using C++ to call the self-compiled OpenCV 4.7.0 library for image SURF feature extraction, when the program is generated to SURF::create, an error will be reported and interrupted.

The reason is that when CMake configured Configure, the OPENCV_ENABLE_NONFREE item was not checked

 As shown above, check this item, recompile the library, and the problem is solved.

Guess you like

Origin blog.csdn.net/chan1987818/article/details/130038755