Comments (4)
@facundo-lezama : yes ,the explanation you provided above has resolved my query.
from norfair.
Hi @avadhut-00, I reviewed your notebook and saw that you were using TrackedObject.past_detections
to access the list of past bounding boxes associated with the specific object. That's currently the way Norfair expects you to do it. So I don't fully understand the problem you are facing when using it. Are you getting empty lists? Are you getting an incomplete list of past bounding boxes? Can you provide some more information?
from norfair.
I have made the required changes in the public notebook to explain my point further:
-
Trying to get the list of past detections with 't1.past_detections' cmd gives an object memory location instead of bbox co-ordinates--->[<norfair.tracker.Detection object at 0x7f19c469a610>]
-
When I issue the command 't1.past_detections' I am expecting list of the form [[[x1,y1],[x2,y2]],[[x1,y1],[x2,y2]],[[x1,y1],[x2,y2]],[[x1,y1],[x2,y2]]]
-
The list above is for a single tracked object having its detection co-ordinate history for the frames it was detected & tracked on
from norfair.
Thanks for the detailed explanation, I now understand what's happening.
The output of TrackedObject.past_detections
is a list
of Detection
objects with the past detections. So if you want to get the actual bounding boxes, you should access Detection.points
for each of the past detections in the list.
from norfair.
Related Issues (20)
- 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
- What are the tracked objects? HOT 6
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.