I'm trying to template matching using my web cam.I used web cam feed as source and used a template as small image that taken from web cam.
Both template and source have same bit depth.(uint8).

I'm using OpenCV3.0 with python 2.7 in VS 2013 IDE
I got this error:
> C:\builds\master_PackSlaveAddon-win32-vc12-static\opencv\modules\imgproc\src\templmatch.cpp:1062: error: (-215) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function cv::matchTemplate
Give me a solution
Thank in advance
↧