Comments (6)
Thanks for the help! I finally figured out the issue. We were only passing detections to the tracker when a detection was in the frame so we skipped the empty frames and that's why it didn't kill the tracked objects.
from norfair.
Hi @Maiabrennerst!
Is it because of occlusion? Like they overlap and their id gets transferred between them?
Thats a hard problem to fix. Depending on the nature of your problem, it be improved by making object max inertia be lower, or by using embeddings to reid the vehicles.
from norfair.
How do we include embeddings in the tracker for reid? And can we get embeddings for any model or is there a specific model we should use for our tracking problem? Is there an example that uses embeddings?
from norfair.
Thanks for the quick reply! So what happens with more detail is:
- An object leaves the scene
- A couple of frames go by without any object
- A second object (different from the first one) enters the scene very close to where the first object left
- The tracker matches both objects as the same one.
I am thinking of maybe an embedding that takes into account the direction of the objects (as the first and second go in different directions), but I am quite clueless at the moment. Is there any documentation on recommended embeddings?
from norfair.
@ManuConcepBrito That is odd, if the object leaves the scene for some time the object_id should be removed from the pool, and a new object_id should be assigned for the object that enters the scene. You may have your hit_inertia_max
be too high.
@nikky4D Just set past_detections_length
to how many detections you want to keep through the life of the project, and then if you want embeddings just add embeddings to the .data
property of the object, which you can later use in you distance function. This is not properly documented at the moment, and there are no examples, but we'll add some soon. Docs
from norfair.
Awesome!
from norfair.
Related Issues (20)
- To get a moving object's speed as single scalar value HOT 1
- How to start? HOT 6
- reid - how to use reid? HOT 2
- MotionEstimator with Reid HOT 2
- Reid in case of occlusion/object going out and coming back in the frame HOT 12
- error: (-28:Unknown error code -28) The input arrays should have at least 4 corresponding point sets to calculate Homography in function 'findHomography' HOT 6
- How to get object/track id and their bbox coordinates for a video? HOT 2
- Question about skip_period HOT 2
- Skipped frames on avi videos
- Suggestions to make the processing faster HOT 5
- Typing issues (example: `Detection.embedding` is `Unknown | None`)
- object ids in tracked_objects skipped a number? HOT 8
- Detection confidence when drawing tracked_objects' boxes? HOT 5
- Any tips on how to use Norfair for re-identification accross cameras HOT 1
- Ask a question about object tracking HOT 3
- Configure logging behavior? HOT 1
- The class of object being tracked changes over time HOT 3
- FixedCamera crashes with an inappropriate point array shape
- Detection age not always set
- Detection age not updated after merging tracked objects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from norfair.