Ask Your Question

Revision history [back]

We don't have anything built-in, but we can return an IPLImage and then use OpenCV to convert it for us:

from SimpleCV import *

img = Image('simplecv.png')
iplimg = img.getBitmap()
cvmat = cv.GetMat(iplimg)