17 comments

[ 3.1 ms ] story [ 42.1 ms ] thread
The blog post is a little light on details. Just go to the source and demo on the original creator's site: http://liuliu.me/detect/detect.html

Canvas allows access to individual pixels in an image, and JS is arguably faster than BASIC interpreters of the 80s. Fun things lie ahead in client-side image processing.

EDIT: Incidentally, the code is pretty hairy and has about 3 comments. It's hard to figure out what ML approach he's using from a cursory look.

EDIT: Aah, definitely an image pyramid in there, so some multi-resolution stuff happening.

(comment deleted)
Doesn't really seem to work that good on pictures with more objects on it.
I don't know too much about face detection, can you anyone tell which algorithm the author is using? It doesn't work on a lot of pictures so I was wondering if this is the best face detection algorithm available?
I didn't look at the source in detail, but almost all face detection systems today (including those implemented in hardware in cameras) use a variant of Viola and Jones' Haar-Like Cascade Detector [1].

The major exception is work from CMU and PittPatt [2], which uses Neural Networks [3].

[1] http://en.wikipedia.org/wiki/Viola-Jones_object_detection_fr...

[2] http://www.pittpatt.com/

[3] http://vasc.ri.cmu.edu/NNFaceDetector/

I doubt that PittPatt uses NN. Here is the reference I found:

Feature-Centric Evaluation for Efficient Cascaded Object Detection, Henry Schneiderman

Maybe Schneiderman himself can clarify this :)

Ah good point. I forgot that he had his own method, separate from Takeo's.
It's pretty sweet. I wrote qoobster.com/bieber to get Antoine Dodson's sweet headband instead of that silly red square plastered on my friends.