GetSize(cimg), cimg.tostring()) # pimg is a PIL image cimg2 = cv.CreateImageHeader(pimg.size, cv.IPL_DEPTH_8U, 3) # cimg2 is a OpenCV image cv.
確定! 回上一頁