Skip to content

Jacobs-University/People-detection-tracking-and-recognition-using-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

People-detection-tracking-and-recognition-using-OpenCV

Final OpenCV based human detection,recognition and tracking Project for CA-RIS-802 Human Computer Interaction Spring 2021.

Submitted by: Peiyan he

Usage: This project contains a python script called people_detection.py, a folder named haarcascades and two test videos. The download links for the two test videos are:

Test_video_1.mp4: https://github.com/intel-iot-devkit/sample-videos/blob/master/worker-zone-detection.mp4

Test_video_2.mp4: https://www.pexels.com/video/man-transporting-garden-sand-using-a-cart-7714807/

You need execute the following statement to run the python script.

python3 people_detection.py -v ./test_video_1.mp4 -face_detec False

The python script needs to pass in two parameters, namely “-v” and “-face_detec”, where “-v” refers to the video path that needs to be tested, and “-face_detec” refers to the need for face detection(If there is no face in the video, set to False). This python script first modifies the shape of each frame in the video, then performs corner detection, and then performs optical flow tracking on the detected corners, then execute human detection and face detection in turn, and draws frames and ellipses on the image respectively in.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages