libuvc_ros icon indicating copy to clipboard operation
libuvc_ros copied to clipboard

Image is all green

Open vaibhavviswanathan opened this issue 5 years ago • 0 comments

When using libuvc, I am having an issue that the image is all green when saturated (instead of all white). I believe this is because the image is being interpreted as the wrong type. When using OpenCV, I can see the correct image by recoloring it as such:

gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) proc = cv2.cvtColor(gray, cv2.COLOR_BayerBG2BGR) How do I solve this problem in libuvc_ros ?

vaibhavviswanathan avatar May 23 '19 21:05 vaibhavviswanathan