Ask Your Question

jbdemonte's profile - activity

2015-01-24 14:05:46 -0600 received badge  Editor (source)
2015-01-22 13:58:11 -0600 answered a question Open CV 3.0 findHomography raise an error

Really, none know about this?

2015-01-20 02:20:07 -0600 asked a question 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