luxonis / depthai-experiments

Experimental projects we've done with DepthAI.
MIT License
844 stars 370 forks source link

gen2-pedestrian-reidentification - ID person changes after some time #412

Open vipulkumar-developer opened 2 years ago

vipulkumar-developer commented 2 years ago

Hello, as the issue's title suggests, in the project gen2-pedestrian-reidentification (https://github.com/luxonis/depthai-experiments/tree/master/gen2-pedestrian-reidentification) after some minutes the ID person changes or if I try to hide for a couple of minutes and then when I return in front of the camera, a new ID is assigned. I ran the original code without any changes.

I thought that maybe there is some buffer that removes the old frames but the only buffer that I found in the code is about the synchronization.

I'm aware of the fact that the problem seems to be the model used for the re-identification and so my question is the following: Is there any other model for re-identification suitable with Myriad?

Erol444 commented 2 years ago

Hi @vipulkumar-developer , There are 4 pretrained models on openvino model zoo alone, but they are quite heavy and you might low fps. I would also suggest trying different threshold values here (instead of 0.7). image Thanks, Erik