AR Drone Face Detector
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FaceStream.js
FrameStream.js
README.md
RGBAStream.js
SelectStream.js
bbf_face.js
extendObservable.js
fileMovieStream.js
greenStream.js
infStream.js
package.json
testStream.js

README.md

As presented on the NNUG Meetup in Bergen 30. jan 2012

This just contains all modules right now, as I haven't checked them into npm yet.

I use the fantastic JSFeat library for face detection. The bbf-face-file is from that module

The PaVEParser is from the ar-drone module itself.

For getting the RGBA array I use ffmpeg, and got a lot of inspiration from @TooTallNate on getting that to run.

The last part is standard reactive extensions, thank you Microsoft for being awesome and making it open source and available for JavaScript

node testStream.js will connect to the drone and start writing detected faces to the console. Uncomment the lines about the drone, takeoff and land and you have a drone that takes off and will only land if it detects a face.