Answers for "how to convert bgr to rgb in cv2"

8

bgr to rgb opencv

img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
Posted by: Guest on June-20-2020
0

cv2 rgb to bgr

dst = cv2.cvtColor(src, code)
Posted by: Guest on June-11-2021

Browse Popular Code Answers by Language