Hello,

I'm trying people-tracker on the OAK-1.

I'd like to record the ID assigned to the detected person, but I want to limit the maximum number.

Please let me know if there is a way to reset the ID to 1.

Thank you.

  • erik replied to this.

    Hi ayamada ,
    Unfortunately, this isn't supported yet. What's the usecase for such a requirement?
    Thanks, Erik

      erik

      Hello Erik,

      I am developing an automatic counting system for entering and exiting people.

      The system performs continuous operation (does not turn off power).

      Assuming daily measurements.

      I'm considering people_tracker, but I've checked IDs up to 70000 and above.

      I will also leave a log of the image associated with the ID, so if the ID becomes tens of thousands, the ID display of the video will become complicated, and I would like to do something about it.

      Ideally, I would like to be able to reset the ID to 0 at midnight.

      I would be happy if you could tell me if you have any good ideas.

        Hi ayamada

        I think you should be able to reset the data by setting data attribute of PeopleTracker class to empty dictionary -->pt.data = dict() at midnight.

        Hope this helps,
        Jaka

          Hello jakaskerl

          Thanks for your advice.

          I would like to try it.

          If it goes well, I will write again here.