Monday, August 1, 2016

People Counter using OpenCV and Python

People counter system is counting system based on Image processing techniques to count human traffic at various places like Retail shops, Malls, Public places etc. The module was made using an RTSP stream from an overhead CCTV camera and processed through OpenCV library for Python. This Module was made at my internship.


 



fig.1 Snap of the people counter GUI



 The live video feed is taken frame by frame to process and morphological operations were applied to each frame to get rid of noises and get proper blobs. Next, using contours method we extract the co-ordinates of each blob and track them so that the blob can be counted in a region of frame. The accuracy of the counting depends on a number of factor such as height of camera, field of vision, camera angle, lighting etc..

Take a look at the video:





10 comments:

  1. Hello great job, I am very surprised at the work you've done, I would like to know a little more of this project and implement it for the university.

    We would like to know if you can share the source code to investigate and learn about image processing

    I am very grateful

    Thanks in advance,
    Christian

    ReplyDelete
    Replies
    1. Thank you very much Christian. I would surely like to assist you in any way i can. Mail me on kartikmadhira1@gmail.com

      Delete
  2. Hi Kartik,

    I'm doing project- people counter using opencv as final year project. Bt mujhe to kuch jyada samaz nai aata, kya and kaise karna h. Bas jaise taise Python & OpenCV install kiya h....please yar aange help karde. Kaise karna h? ya code share kar de? Thank you!

    ReplyDelete
    Replies
    1. Mail me on kartikmadhira1@gmail.com
      Cheers!
      Kartik

      Delete
    2. hi karthik i am currently working on counting the number of people inside a class room can u help me

      Delete
  3. hi can you please share me the code. I need it badly.

    ReplyDelete
    Replies
    1. Hi, i cant share the code. However i can help you in making one. You can seek my help by writing to kartikmadhira1@gmail.com

      Delete
  4. can you send it to my email hehe ddeveza9@gmail.com

    ReplyDelete
    Replies
    1. Sorry bro. can't :). Any further enquiries you could directly mail me at kartikmadhira1@gmail.com

      Delete
  5. hi kartik
    i have gone through your counting video i am going a project based on human counting with unique object recognition could u please help me with the python codes if possible mail me mandiprocks@hotmail.com

    ReplyDelete

ROS Autonomous Navigation Bot - [Clerkbot] - Initial Tests

Finally it took me three months to fully come up with this robot and just a fun fact, it took me a month to just tune the ocean of paramet...