Re: [Image-SIG] possible bug in OpenCV python module (cv2)

2013-08-21 Thread Chris Barker - NOAA Federal
On Wed, Aug 21, 2013 at 7:00 AM, ha wrote: > Is this the right place to discuss such problems? not really -- this list os for more general image processing tools with Pyton, mostly the PIL. There must be an OpenCV list somewhere. If not, I'd try the scipy list, I expect there are users on there

[Image-SIG] possible bug in OpenCV python module (cv2)

2013-08-21 Thread ha
When I run: img = uint8([[0,255,255,0],[0,255,255,0],[0,255,255,0],[0,255,255,0]]) aaa,bbb = cv2.findContours(img,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) img I get the following output: array([[ 0, 0, 0, 0], [ 0, 2, 130, 0], [ 0, 2, 130, 0], [ 0, 0, 0,