aws-samples/aws-panorama-samples

b and r channels reversed in tutorial

cliveaws opened this issue · 0 comments

In people_detection_tutorial.ipynb, the preprocess function uses cv2.split() to extract the individual rgb channels from the image:

r, g, b = cv2.split(img)

however openCV uses BGR format so it should be:

b, g, r = cv2.split(img)