Ask Your Question

cts's profile - activity

2020-09-13 12:00:30 -0500 received badge  Student (source)
2020-09-13 11:57:11 -0500 received badge  Famous Question (source)
2016-03-16 01:47:09 -0500 received badge  Notable Question (source)
2015-07-10 07:59:13 -0500 received badge  Popular Question (source)
2012-09-29 12:44:45 -0500 received badge  Scholar (source)
2012-09-29 12:44:43 -0500 received badge  Supporter (source)
2012-09-28 06:39:14 -0500 commented answer Simply count number of faces?

wow. WOW. Yes, it does compile, and yes, it does work. wow. "on the fly"... amazing. Thank you! Btw, your code is more readable to a non-native C speaker like me, so it is a much more suitable "entry point" into learning. If I could give the OpenCV gang a recommendation: Add this to the examples, please.

2012-09-28 06:09:27 -0500 commented question Simply count number of faces?

A simple recipe for Dragon Stew: Step 1: Find a few kilos of well aged dragonmeat...

2012-09-28 05:52:14 -0500 asked a question Simply count number of faces?


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 ;)