teachablemachine-community icon indicating copy to clipboard operation
teachablemachine-community copied to clipboard

snippets/markdown/image/edgetpu/python.md Opencv example code doesn't swap color to BGR2RGB

Open smudger0 opened this issue 1 year ago • 0 comments

The example EdgeTPU python code uses cv2.VideoCapture but doesn't convert from the default BGR format. Should the code have something like frame_rgb = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) before the classifier is called?

smudger0 avatar Dec 18 '23 11:12 smudger0