Requirements:
- OpenCV 2.3.1a (for Haar feature detection)
- Dev Channel release of Chrome (or recent Opera).
- Chrome Canary is the latest dev and wont mess with your usual chrome install. https://tools.google.com/dlpage/chromesxs
To Run:
- (install OpenCV 2.3.1a)
On OS X, via homebrew:
brew install https://raw.github.com/mxcl/homebrew/071c3eb/Library/Formula/opencv.rb
git submodule init && git submodule update
- npm install
node index.js 3000
- Open http://0.0.0.0:3000 in Chrome.
- Turn your screen brightness up, try to make your face fill most of the camera area and make sure you're not backlit. The smile detector wont really work otherwise.
Possible Speedup:
- Use ramdisk as tmp img store (under OS X): ```
diskutil erasevolume HFS+ "ramdisk"
hdiutil attach -nomount ram://1165430