Code QuizIntermediate RGB to HSV Conversion
Find the wrong color-conversion code passed to OpenCV.
Codepython
import cv2
def to_hsv(rgb_image):
# input is a true RGB image (not BGR)
return cv2.cvtColor(rgb_image, cv2.COLOR_BGR2HSV)
What is the bug in this RGB-to-HSV conversion?