Skip to content

mwoodson1/Face-Tracking-Quadcopter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-requisites

To run any of the code you need to have OpenCV 3.1 installed. You can follow the instructions here in order to do that.(The website says it will install 2.4 but the process will install 3.1) You may get an error when running the contour extraction or background subtraction part of the code. To fix this simply comment out the line that gives the error in the opencv library and make sure to recompile it.

Gait Recognition

classifier.py will build 6 gait classifiers. Each classifier corresponds to a particular viewing angle of the person. These classifiers can be integrated with the face recognizing quad-copter code to enable tracking of persons even when the face is obstructed.

The classifier is implemented by the following steps:

  • Perform background subtraction
  • Extract the silhouette of the person
  • Convert this silhouette to a 1D signal by computing the distance from the center of mass to the silhouette in a clockwise fashion
  • Peform LDA paired with a KNN classifier. The hyperparameters are determined via grid search

A visualization of these steps can be seen by running data_visualization.py.

Face Recognition and Quadcopter Control

This code works on the ArDrone quadcopters. The control code is taken from here. The library provides a clean Python interface which we write our face detection and recognition code. After following the install instructions for AutoPylot you can follow the same instructions to enable the autopilot on your ArDrone. When turning the autopilot on the quadcopter will detect faces and track the ones it was not trained to recognize.

About

A Python based face tracker and gait recognition interface for the Parrot ArDrone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published