Ask Your Question

KOB's profile - activity

2013-05-31 14:59:09 -0500 received badge  Famous Question (source)
2013-04-29 13:53:55 -0500 received badge  Notable Question (source)
2013-04-28 05:09:56 -0500 received badge  Popular Question (source)
2013-04-27 10:25:47 -0500 received badge  Scholar (source)
2013-04-26 06:55:59 -0500 asked a question Converting openCV image to simpleCV image

Hi. I am using an Odroid-u2 to do some image processing. I have a problem with capturing frames from my webcamera in simpleCV, so instead i use cv2 module to capture the frames. I still want to use simpleCV to process the image, but when I create a simpleCV Image from an openCV image the width becomes the height and height become the width in the new Image.

The code looks like this.

cam = cv2.VideoCapture(0)
var, img =
simpleCVimg = Image(img).rotate(270).flipHorizontal()

When i print the size of both images i get 640X360(openCV) and 360X640(simpleCV) Does anyone have a clue how to fix this?