question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tracking Small Objects at High Speed

See original GitHub issue

Hi @GeekAlexis, I loved your project and included it in my studies. I’m doing vehicle tracking and calculating real-time speed among other types of analysis. As a crucial part of my project it includes Object Detection and Tracking. FastMOT is perfect for starting my project. I’ve done all Yolov4 Darknet Detection training and I’m going to do Fast-REID Training. I did some tests with aerial video images and I have some questions. I used it as Feature Extractor OSNet025, apparently it works very well.

However, small objects at high speed, the object changes its identity very often, I believe this is due to KLT optical flow tracking.

Do you have any clue as to how I can fix this?

Check Videos Output using:

detector_frame_skip = 5

and

detector_frame_skip = 1

Output Video Here

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
levipereiracommented, Aug 10, 2021

Hi @GeekAlexis , Bad news… I did tons of tests using OPENCV with ffmpeg NVDEC with RTX 2060 and I could get only 65 Fps (70%GPU utilization) with 4k video while in CPU i7-8700 i got 170 FPS (100% utilization). Using only FFMPEG and NVDEC i got 220Fps. I think there is some issue between ffmpeg and opencv when using HA, because that I think is not good implement for now OPENCV with NVDEC, but I have not tested ENCODE (NVENC).

These libraries seems to be interesting.

https://docs.nvidia.com/deeplearning/dali/user-guide/docs/index.html https://docs.nvidia.com/jetson/l4t-multimedia/group__LibargusAPI.html

1reaction
levipereiracommented, Jul 8, 2021

It’s work and is fast to decode/encode, my next step is test decode and resize in gpu. This can realy help us. My dockerfile is a mess, I need clean it before send you. I’ll try build a small image with opencv and ffmpeg and gstreamer with H/W acceleration enabled

Read more comments on GitHub >

github_iconTop Results From Across the Web

Small Object Detection and Tracking in Satellite Videos With ...
In this paper, we propose a track-by-detection approach to detect and track small moving targets by using a convolutional neural network and a ......
Read more >
Tracking Small and Fast Moving Objects: A Benchmark
current research in the field mainly focuses on tracking generic objects. In this paper, we present TSFMO, a benchmark for Tracking Small and....
Read more >
Tiny Object Tracking: A Large-scale Dataset and A Baseline
To promote the research and development of tiny object tracking, we create a large-scale video dataset, which contains 434 sequences with a ...
Read more >
Object tracking of fast moving small objects - Stack Overflow
My suggestion is that you first get a camera with a higher shutter speed so that the moving objects appear sharper. Then, collect...
Read more >
Image-free real-time detection and tracking of fast moving ...
Radar [5 ] is an image-free technique for object detection and tracking. It sends out electromagnetic pulses in radio or microwaves range and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found