1 | initial version |
though you did everything right here, it is doubtful, that you ever get a nicely working cascade out of it.
have another look at how haar features work:
now compare this to your nail input images -- where would it find those features there ? all you have is the gradients at the nail-skin border. there isn't anything in the center, im afraid, there is just not enough "texture" here for a cascade classifier.
also, 60 positive samples are not enough, you'd need like 20x more.
maybe youcan improve your detection (or even entirely replace it) by using a dnn based hand detector :