Skip to content

Face detection using Viola-Jones detector and tracking using CAMShift, Particle Filter, Face detector + Kalman Filter, and Face Detector + Optical Flow tracker

Notifications You must be signed in to change notification settings

geekyspartan/Face-Detection-and-Tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Face Detection and Tracking

Implemented code to detect the face in first frame of the video and then track the face throughout the video using following filters:

  • CAMShift
  • Particle Filter
  • face Detector + Kalman Filter
  • Face Detector + Optical Flow Filter

To run code, execute following command

Python command:

python detection_tracking.py [Filter Number] [Video Path] [Output Path]

Filter number is following:

  • 1 - CAMShift
  • 2 - Particle Filter
  • 3 - Kalman Filter
  • 4 - Optical Flow Filter

Each filter will save a text file with frame_index and x,y coordinates of the middle of the face/head for each frame in the video.

About

Face detection using Viola-Jones detector and tracking using CAMShift, Particle Filter, Face detector + Kalman Filter, and Face Detector + Optical Flow tracker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages