GithubHelp home page GithubHelp logo

Comments (4)

 avatar commented on June 17, 2024 1

@facundo-lezama : yes ,the explanation you provided above has resolved my query.

from norfair.

facundo-lezama avatar facundo-lezama commented on June 17, 2024

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.

 avatar commented on June 17, 2024

I have made the required changes in the public notebook to explain my point further:

  1. 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>]

  2. 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]]]

  3. 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.

facundo-lezama avatar facundo-lezama commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.