Need help to create application to count people from live streaming

Hello Team,

We have started to work on People Count demo application in which we have requirement to count total number of people who are climbing ladder and add into Total count.

We have already done half job to create video streaming using ESP32-CAM and also configured OpenCV with required libraries as well.

But, When we execute provided example at that time we are getting count on every moment of people which is not correct as it will add many counts for single person.

The code reads a video file and processes each frame of the video. It applies the YOLO (You Only Look Once) model to detect people in each frame by drawing bounding boxes around them. It keeps track of the count of detected people and displays it on the video frame. The code also uses non-maximum suppression to eliminate redundant bounding boxes. Finally, it prints the total number of people counted in the video.

Let me know if anyone has any reference or anyone has developed such kind of application before.

Ritesh Prajapati

How your question is about an opencv problem?
google or what ever search engine are yours friends


It is about OpenCV as we have used libraries and example on top of video capturing to count total number of people.

Let me know if need any more details to prove that it is related to OpenCV with Python Library and other stuffs.

Ritesh Prajapati


Please assume the same rules for this forum that are in effect on Stack Overflow. that specifically includes doing the research.

1 Like

So the question which I have asked is wrong. or something else?

Let me know if need to improve or include anything into question.

Ritesh Prajapati