Bounding box size #13
Comments
In fact, there is little difference in implementation of C++ program and Python program. btw, "openvino_tiny-yolov3_MultiStick_test.py" will run faster, so I recommend using this. $ python3 openvino_tiny-yolov3_MultiStick_test.py -numncs 1 |
Thank you for the clarification and for your work on this project that is a valuable addition. |
The accuracy issue could be related to cv2.resize() which doesn't maintain the aspect ratio. Please note that darknet is using letterbox_image() while training. Reading this article https://blog.paperspace.com/how-to-implement-a-yolo-v3-object-detector-from-scratch-in-pytorch-part-5/ may give you some thoughts. |
I fixed Python's demo program. |
Dear @PINTO0309 , UPDATE: OK, turned out, the problem was in one of our modules. The module changed bounding boxes sizes internally, which made comparison of different modules results quite troublesome! |
I tested a tiny Yolov3/FP16/MYRIAD model (20 classes VOC) with openvino_tiny-yolov3_test.py and the provided cpp project. The accuracy is bad so I had to increase the threshold to 0.7
The funny thing is that the python and cpp implementation draw boxes of different size, the cpp implementation drawing boxes x1.5 to x2 larger that the python demo. Any idea about this ?
The text was updated successfully, but these errors were encountered: