gstreamer_live_overlay_object_detector.py Bounding boxes in wrong place and slower than I expected

When running on my desktop ubuntu 16.04 LTS:

python3 gstreamer_live_overlay_object_detector.py --video_file  vtest.avi

The bounding boxes are in the wrong position and it is not realtime (my own mobilenetSSD V2 model running on ncnn runs in realtime)

You can get the vtest.avi from opencv https://github.com/opencv/opencv/tree/master/samples/data

I think the problem is that the python code is not scaling the bounding boxes to the input image ratio. The static image bounding box drawer doesn't seem to exhibit this problem.

 

Regards,

Simon

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • that's odd. I have filed a bug for tracking. Thanks for the report!

    Reply Like
  • with the recently released 1.0 SDK, we have addressed this issue.

    Reply Like
Like Follow
  • 6 mths agoLast active
  • 2Replies
  • 70Views
  • 2 Following