Debug Assertion Failed Expression: _pFirstBlock == pHead using OpenCV and C++ trying to call SurfFeatureDetector

前端 未结 3 1638
走了就别回头了
走了就别回头了 2021-02-09 01:17

I have this function in C++ using OpenCV:

vector test(Mat img)
{
  int minHessian = 400;
  SurfFeatureDetector detector( minHessian );

  vector&         


        
3条回答
  •  独厮守ぢ
    2021-02-09 01:49

    It is library problem,in my case changed the project property "Use of mfc" from static to "Use MFC in a Shared DLL" do the trick.

提交回复
热议问题