Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Questions about Person Counter

Wesley__Ziegan
Beginner
575 Views

Hi
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

For the

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)

Frame 1:

0 += 2-0
0 +=2
so totalCount = 2

Frame 2:

2 += 0-2
2 += 2

so totalCount = 4

Frame 3:

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?

https://drive.google.com/file/d/1awiVwGz4uHqkck29VJ5OSdm4W_UD0pUH/view?usp=sharing

0 Kudos
1 Reply
Iffa_Intel
Moderator
575 Views

Greetings,

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

 

Sincerely,

Iffa

0 Kudos
Reply