Dominik Dolancic
Dominik Dolancic
Error what i received is OpenCV Error: Assertion failed ((img.depth() == CV_8U || img.depth() == CV_32F) && img.type() == templ.type()) in matchTemplate, file /tmp/opencv20160107-54198-1duzac3/opencv-2.4.12/modules/imgproc/src/templmatch.cpp, line 249 libc++abi.dylib: terminating with uncaught...
They both are the same type and depth, template image is actually cropped copy of original. Do you have another idea?
Thanks for helping, now I got another error. I don't know where am I mistaken, my code looks like Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file ../node_modules/nan/nan_object_wrap.h, line 33....
I've just edited post above, here is the error OpenCV Error: Assertion failed (corrsize.height
Doesn't work, same error like before OpenCV Error: Assertion failed ((img.depth() == CV_8U || img.depth() == CV_32F) && img.type() == templ.type()) in matchTemplate, file /tmp/opencv20160107-54198-1duzac3/opencv-2.4.12/modules/imgproc/src/templmatch.cpp, line 249 libc++abi.dylib: terminating with...
@salmanulhaq would be great if you could make the fix