qqwweee / keras-yolo3

A Keras implementation of YOLOv3 (Tensorflow backend)
MIT License
7.14k stars 3.44k forks source link

Colour space problems #366

Open tangyeqiu opened 5 years ago

tangyeqiu commented 5 years ago

Hey I found a issue about the colour space. When detect the input video, the opencv will read the frames in BGR colour space, however they are not converted into RGB format and then directly input into the detect image function, where the PIL treat them as RGB pictures. This could affect the accuracy when it is recognizing the colour related objects (e.g. Traffic Lights). Hope the originator can improve it.

zxy20162101 commented 5 years ago

thank u very much,help me a lot