OpenVINO-YoloV3 icon indicating copy to clipboard operation
OpenVINO-YoloV3 copied to clipboard

Syncing the inference to the images

Open RachitB11 opened this issue 5 years ago • 2 comments

[Required] Your device (RaspberryPi3, LaptopPC, or other device name):
LaptopPC [Required] Your device's CPU architecture (armv7l, x86_64, or other architecture name):
x86_64 [Required] Your OS (Raspbian, Ubuntu1604, or other os name):
Ubuntu 16.04 [Required] Details of the work you did before the problem occurred:

Followed the instructions

[Required] Error message:

No error

[Required] Overview of problems and questions:
It seems that the inference and the playback rate are almost the same (Around 8.5-9fps) but the inference boxes seems to lag the frame. Is there a way to correctly sync the frames to the inference in imshow?

RachitB11 avatar Jun 14 '19 18:06 RachitB11

Processing asynchronously will shift the frame position slightly, but it will be faster. If you process in synchronization, the frame will not shift, but it will be slightly slower. Use "openvino_yolov3_test.py" or "openvino_tiny-yolov3_test.py" if you want to use synchronous processing.

PINTO0309 avatar Jun 16 '19 01:06 PINTO0309

@PINTO0309 thanks for responding so quickly. I just queried the inputs in the inference request to get the right correlation. On a separate note, how much latency do you observe on running inference per image on the Myriad? Even though the throughput increases with the multiple sticks implementation, the latency for inference will be the same. Do you have any tips on how to speed up the inference?

RachitB11 avatar Jun 18 '19 02:06 RachitB11