OpenCV houghTransformP不起作用(CPP,Visual Studio 2019)

时间:2019-11-27 18:24:38

标签: c++ visual-studio opencv

我正在尝试使用以下方法:

       <TextView 
                 android:text="@{viewmodel.student.id.toString}" />   
       <TextView 
                 android:text="@{viewmodel.student.family.toString}" />    

       <TextView
                 android:text="@{viewmodel.student.id.toString}"/> 

我正在使用与OpenCV Documentation中的OpenCV文档相同的代码。 我遇到以下错误:

Error which appeared

不知道如何处理。我一直在寻找解决方案,但找不到任何东西。

1 个答案:

答案 0 :(得分:0)

尝试以发布模式编译项目。

enter image description here

我的属性设置如下:我添加了opencv_world310.lib。该文件用于发布模式,而opencv_world310d.lib用于调试模式。我猜您在初次使用OpenCV时没有注意调试和释放模式的配置,这导致了此错误。