You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: PyError (:PyObject_Call) <type 'exceptions.TypeError'>
TypeError('Layout of the output array image is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels)',)
using PyCall
@pyimport cv2
cv2.findContours(rand(UInt8,64,64),cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)
It sounds like OpenCV is expecting an array row-major order, whereas Julia's array is in column-major order. This needs something like #85, it seems like.
The following simple code has error:
But the corresponding python code has no problem:
Julia: 0.4.3
PyCall: master
python: 2.7
opencv: 2.4.x
os: ubuntu 14.04
The text was updated successfully, but these errors were encountered: