ddshan / hand_object_detector

Project and dataset webpage:
https://fouheylab.eecs.umich.edu/~dandans/projects/100DOH/
MIT License
226 stars 64 forks source link

RGB & BGR #1

Closed dihuangdh closed 3 years ago

dihuangdh commented 4 years ago

Hi @ddshan

Thanks for your awesome work.

The demo.py support both image input and webcam input. However, you use imread to read images, which return RGB; and use cv2 to read video, which should return BGR. Is this wrong?

https://github.com/ddshan/hand_object_detector/blob/6b46cb01a977323fe5eeed68f676b0888c87a4c0/demo.py#L254-L270

ddshan commented 3 years ago

Thank you for pointing out! Sorry about the inconsistent imread() methods. I have fixed the code.