logo       

Re: facedetect.c: msg#00692

lib.opencv

Subject: Re: facedetect.c

Read the Cegparamesh post, it explains it very well.
The cascade i'm taking about is the file
"haarcascade_frontalface_default.xml", and it contains the
informationabout the face's features.
You specify the path of the cascade when you run the program.
For example, whem you run the program like this:
facedetect --cascade="haarcascade_frontalface_default.xml"

You tell to the program that you want to detect objects with the
features presents in the haarcascade_frontalface_default.xml file (in
this case frontal faces). Note that the file must be in the same
directory of the program.

Gonçalo Monteiro




simona fabbro wrote:

>but where I must specify the path of the cascade??I haven't understand...
>Gonçalo Monteiro <icognitus@xxxxxxxxx> ha scritto:
> You must specify the path of the cascade, usualy the cascades path are
><open-cv_base_directory>/data/haarcascades/haarcascade_frontalface_default.xml
>, move it to the directory of the facedetect program and try:
>facedetect --cascade="haarcascade_frontalface_default.xml"
>
>or just read the file facedetect.cmd :)
>
>Sorry for my english, i hope i've helped you...
>
>Gonçalo Monteiro
>
>
>simona fabbro wrote:
>
>
>
>>Hi all,
>> I use facedetect.c of the sample of OpenCV. But when I use this code, I have
>> this problem in the executation:
>>
>> Usage: facedetect --cascade="<cascade_path>"[filename: cameraindex]
>>
>> where is the problem??
>> thanks
>>
>>
>>---------------------------------
>>Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive
>>
>>[Non-text portions of this message have been removed]
>>
>>
>>
>>Change settings: http://www.yahoogroups.com/mygroups, select
>> Get Emails (get all posts)
>> Daily Digest (one summary email per day)
>> Read on the web (read posts on the web only)Or Unsubscribe by mailing
>> OpenCV-unsubscribe@xxxxxxxxxxxxxxx
>>
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>Change settings: http://www.yahoogroups.com/mygroups, select
> Get Emails (get all posts)
> Daily Digest (one summary email per day)
> Read on the web (read posts on the web only)Or Unsubscribe by mailing
> OpenCV-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
>
>---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "OpenCV" on the web.
>
> To unsubscribe from this group, send an email to:
> OpenCV-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>---------------------------------
>
>
>
>
>
>
>---------------------------------
>Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3
>
>[Non-text portions of this message have been removed]
>
>
>
>Change settings: http://www.yahoogroups.com/mygroups, select
> Get Emails (get all posts)
> Daily Digest (one summary email per day)
> Read on the web (read posts on the web only)Or Unsubscribe by mailing
> OpenCV-unsubscribe@xxxxxxxxxxxxxxx
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>



Change settings: http://www.yahoogroups.com/mygroups, select
Get Emails (get all posts)
Daily Digest (one summary email per day)
Read on the web (read posts on the web only)Or Unsubscribe by mailing
OpenCV-unsubscribe@xxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise