6 ms·
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 http://liuliu.me/
by mayanklahiri 16y ago
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 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.