Answers for "cv2.error: OpenCV(4.2.0) C:/projects/opencv-python/opencv/modules/highgui/src/precomp.hpp:137: error: (-215:Assertion failed) src_depth != CV_16F && src_depth != CV_32S in function 'convertToShow'"

2

src_depth != CV_16F && src_depth != CV_32S

image = image.astype(np.uint8)
Posted by: Guest on April-29-2020

Code answers related to "cv2.error: OpenCV(4.2.0) C:/projects/opencv-python/opencv/modules/highgui/src/precomp.hpp:137: error: (-215:Assertion failed) src_depth != CV_16F && src_depth != CV_32S in function 'convertToShow'"

Browse Popular Code Answers by Language