ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is an OpenCV question (-> But you try to convert a grayscale image using BGR2HSV which obviously does not work. The '0' in your cv2.imread asks specifically for a gray scale image, so just use '1' (aka cv2.IMREAD_COLOR) to start with a color image.