inspirit / jsfeat

JavaScript Computer Vision library.
MIT License
2.74k stars 372 forks source link

example for handfist.js #9

Closed mkirank closed 11 years ago

mkirank commented 11 years ago

Thanks for the awesome library . Can you please add an example on how to use the handfist.js

inspirit commented 11 years ago

it should be the same as haar face detector example. just use handfist haar for detection.

mkirank commented 11 years ago

Can you look at this gist https://gist.github.com/4530525 and see if I am missing something . I have created the handfist example but it does not seem to be stable (even a slight shake and the detection goes away) when it detects the handfist cascade

inspirit commented 11 years ago

smth wrong with your gist.. it shouldnt work at all. i cant see "tick" function... anyway u have to play with options to try more precise detection and so on to make it stable.

mkirank commented 11 years ago

Thanks for your reply and sorry for the gist issue , I have updated the gist .
Which options should I play around with ?

inspirit commented 11 years ago

options that u pass to detector. they are presented in demo and u can try to adjust them with sliders and check-boxes. i cant help more since this is how haar works by design. it can be quite picky to light conditions and other factors...