Simple OpenCV command works in Debug mode but not Release mode

后端 未结 4 469
时光说笑
时光说笑 2021-01-11 13:20

I am trying to load in a training xml file with CascadeClassifier::load(), and it works just fine in Debug mode, but in Release mode I get a runtime error.

4条回答
  •  耶瑟儿~
    2021-01-11 13:33

    make sure you're linking to openCV's release dlls when running in release mode. I've had similar problems when I tried to load files with mixed release and debug dlls.

    See this post.

提交回复
热议问题