【发布时间】:2014-01-02 14:14:50
【问题描述】:
当我尝试从here 在 Visual Studio 2010 中运行此代码时。我收到以下错误
OpenCV Error: Assertion failed ((img.depth() == CV_8U || img.depth() == CV_32F)
&& img.type() == templ.type()) in cv::matchTemplate, file ..\..\..\..\opencv\mod
ules\imgproc\src\templmatch.cpp, line 249
An exception occured
【问题讨论】:
标签: c++ visual-studio-2010 opencv image-processing