Hello,
for a halloween project I am looking for a way to simply count the number of faces in a picture given (the picture comes from my webcam, grabbed by the motion
tool under linux).
The C example is, well, a little over my head: Could someone kindly point out to me where to change the facedetect.cpp
code so as to only return the number of faces found, then exit or exit with returncode 0 if no faces have been found, 1 if >0 faces have been found (which would be even simpler for my usage under bash)?
Thank you very much, also in the same of my hopefully very scared daughter ;)