cv2 cv2.error: OpenCV(4.2.0) /Users/travis/build/skvark/opencv-python/opencv/modules/highgui/src/precomp.hpp:137: error: (-215:Assertion failed) src_depth != CV_16F && src_depth != CV_32S in function 'convertToShow' code example
Example: src_depth != CV_16F && src_depth != CV_32S
image = image.astype(np.uint8)