I am trying out your project from Intel Reference implementations,
Currently i am exploring the People Counter on a Intel Upsquared AI Vision X Developer Kit.
Video of the working of program in my machine(https://drive.google.com/file/d/1awiVwGz4uHqkck29VJ5OSdm4W_UD0pUH/view?usp=sharing)
I am facing some problems :
1) Does the program can handle the occlusion or Reappearing of objects.
I get wrong total counts when the bounding box disapears and appears for the same person in a split second.
2) I have gone through the program written in C++ and my doubt " How you calculate the total count by using the frame count "
I can understand the equation included in the program, but while logically thinking ..,it seems the total count is not correct.
Can u state how it works, for better understanding !
To me while thinking the equation does like this:
for example we take 3 frames in a video
Frame 1 has 2 persons
Frame 2 has 0 persons (the persons in the 1st frame got exited from the video)
Frame 3 has 2 persons
So the Total Count must be 4.
But by your equation in the program is,
totalCount += currentCount - lastCount
so its like adding total count to the value you get from (currentCount - lastCount)
0 += 2-0
so totalCount = 2
2 += 0-2
2 += 2
so totalCount = 4
4 += 2-4
4 += 2
so totalCount = 6
Is this how it works ...?
While executing the program it seems to work correct... can you explain like this?
Could you you provide me more info regarding your official references and the official link of the sample code that you are using so that I could investigate more? (for example: https://docs.openvinotoolkit.org/latest/_docs_IE_DG_Samples_Overview.html )
& also your OS