Git Product home page Git Product logo

Comments (5)

monjha avatar monjha commented on July 28, 2024

Hi Lwzhaojun,

Yes, you can update the class-ids in analytics configuration.

from deepstream-occupancy-analytics.

lwzhaojun avatar lwzhaojun commented on July 28, 2024

Thank you for your answer. For example, when I use peoplenet, I set class-id=2, which means the class is face. But the detection box about the face is not displayed and there is no count, I tried to increase the display-bbox=1 in the osd in the config file, it doesn't work either.
image
How should I display the detection box about the face and count it.

from deepstream-occupancy-analytics.

lwzhaojun avatar lwzhaojun commented on July 28, 2024

I seem to know.
There are only cars and persons in your program, so my model peoplenet has no car, so there is no detection box for car.
So if I change the model to dashcamnet, firstly the detection boxes about car and persons will be displayed,
and secondly update the class-ids=1 in analytics configuration, it should be able to count the car flow.
But if you update the class-ids=-1 in analytics configuration, you should not be able to count the flow of cars and people.
Is my thinking correct?
image

from deepstream-occupancy-analytics.

lwzhaojun avatar lwzhaojun commented on July 28, 2024

I changed the model to dashcamnet, the detection boxes about cars and persons will be displayed, and the statistical count of car flow is realized, but the flow of cars and people cannot be counted at the same time. How should I modify it? Is an array added to this function (analytics_custom_parse_nvdsanalytics_meta_data (NvDsMetaList *l_user, AnalyticsUserMeta *data)) to store the flow of the corresponding class?
image

from deepstream-occupancy-analytics.

monjha avatar monjha commented on July 28, 2024

Hi,

You can access the class-id and its respective analytics data.

from deepstream-occupancy-analytics.

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.