Open CV 3.0 findHomography raise an error
Hi there,
I'm trying to use this sample: http://docs.opencv.org/trunk/doc/py_t...
But it always raise an error:
OpenCV Error: Image step is wrong (Step must be a multiple of esz1) in setSize, file /home/jbd/src/opencv-3.0.0-beta/modules/core/src/matrix.cpp, line 297
terminate called after throwing an instance of 'cv::Exception'
what(): /home/jbd/src/opencv-3.0.0-beta/modules/core/src/matrix.cpp:297: error: (-13) Step must be a multiple of esz1 in function setSize
I already ask for it on stackoverflow (http://stackoverflow.com/questions/28...) but it seems no one has idea about it, and I really get stuck :/
Thanks a lot for you help,
------ EDIT ---------
In fact, it seems to not be due to findHomography but to:
cv2.perspectiveTransform
I have no clue why