Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cv2
- import numpy as np
- imageName = "map.tif"
- imagem = cv2.imread(imageName)
- hsv = cv2.cvtColor(imagem, cv2.COLOR_BGR2HSV)
- OpenCV Error: Assertion failed ((scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F)) in cvtColor, file /build/opencv-SviWsf/opencv-2.4.9.1+dfsg/modules/imgproc/src/color.cpp, line 3959
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement