kzbr93

matcherror

May 22nd, 2017
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Aborted (core dumped)
  2. zubair@zubair-X541UV:~/projects/surfdetection/Debug$ ./surfdetection
  3. OpenCV Error: Assertion failed ((depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2) in matchTemplate, file /home/zubair/opencv3/opencv/modules/imgproc/src/templmatch.cpp, line 1099
  4. terminate called after throwing an instance of 'cv::Exception'
  5. what(): /home/zubair/opencv3/opencv/modules/imgproc/src/templmatch.cpp:1099: error: (-215) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function matchTemplate
Advertisement
Add Comment
Please, Sign In to add comment