Home > other >  An error TypeError: Expected Ptr <CV: : UMat> for argument 'SRC'
An error TypeError: Expected Ptr <CV: : UMat> for argument 'SRC'

Time:10-07




Error unable to properly read the image display information,
Reason is the picture is the Image, but to transform images with cv2, this can lead to inconsistent format,
So to cv2. Imread () to read the form

But there is an error

Because of the input image, fill in the path must not contain Chinese
After modification is still an error

Reason is the complete path without write absolute path should add \ \
Correct the result is

The results running normally!
  • Related