Skip to content Skip to sidebar Skip to footer

What Is The Replacement Of Cv2.cv.fromarray In Opencv 3.2?

I am writing a face recognition program and the reference that I got from web was using previous OpenCV version. I am using OpenCV 3.2.0 build from source. In the reference to put

Solution 1:

For the Python API for OpenCV images are numpy arrays so fromarray() is not required (if available at all in the cv module).

See here for an example. You can just pass img to cv2.putText().

Post a Comment for "What Is The Replacement Of Cv2.cv.fromarray In Opencv 3.2?"