How to convert cv2 image to skimage?
How to convert cv2 image to skimage? Question: I am reading an image from a camera that comes in cv2.COLOR_RGB2BGR format. Below is a temporary work around for what I am trying to achieve: import cv2 from skimage import transform, io … _, img = cam.read() img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR) cv2.imwrite("temp.png", img) img = io.imread("temp.png", …
Total answers: 1