Skip to content

Track and count people walking using computer vision

Notifications You must be signed in to change notification settings

Steve0929/people-counting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

people-counting

Track and count people walking using computer vision

Requirements

  • Python 2.7
  • OpenCV 2.4.8

Tech

  • OpenCV - Open Source Computer Vision Library.
  • numpy - Package for scientific computing with Python.

Installation and usage

$ pip install opencv 
$ pip install numpy
$ python hellow.py

Passing '0' to cv2.VideoCapture will use the default camera of your computer, however you may pass the path of a video file saved on your computer or a RTSP (Real Time Streaming Protocol) URL.

cap = cv2.VideoCapture(0)
cap = cv2.VideoCapture("video.avi")
cap = cv2.VideoCapture("rtsp://YourRTSPUrl")

About

Track and count people walking using computer vision

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages