AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.72k stars 7.96k forks source link

Difference between opencv imread vs Darknet load_image_color #4811

Open sayanmutd opened 4 years ago

sayanmutd commented 4 years ago

Is there any difference between opencv imread with load_image_color in darknet, as when we are using the darknet.py for classification purpose, we are getting wrong result. @AlexeyAB

sayanmutd commented 4 years ago

@AlexeyAB I think there is difference of jpeg decoding between stb_image and opencv. Do you have any idea?

AlexeyAB commented 4 years ago

Show examples. Use only c/c++/python code from this repo, without any your additions or changes.