followbot
Convert image from PIL to openCV format
sunlab
2020. 9. 14. 12:46
728x90
stackoverflow.com/questions/14134892/convert-image-from-pil-to-opencv-format
Convert image from PIL to openCV format
I'm trying to convert image from PIL to OpenCV format. I'm using OpenCV 2.4.3. here is what I've attempted till now. >>> from PIL import Image >>> import cv2 as cv >>> p...
stackoverflow.com