logo       

Re: facedetect.c: msg#00694

lib.opencv

Subject: Re: facedetect.c

You have to go to commandline !
Go to start button, open a window and type the following in one line:
--cascade="c:\program
files\opencv\data\haarcascades\haarcascade_frontalface_default.xml" "c:\program
files\opencv\samples\c\lena.jpg"

This assumes you have installed opencv in c:\program files\ directory.

Also refer:

http://www.intel.com/technology/itj/2005/volume09issue02/art03_learning_vision/p04_face_detection.htm

Hope it helps.
ashok


Gon?lo Monteiro <icognitus@xxxxxxxxx> wrote:
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?lo Monteiro




simona fabbro wrote:

>but where I must specify the path of the cascade??I haven't understand...
>Gon?lo 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?lo 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




SPONSORED LINKS
Open source software Computer vision

---------------------------------
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.


---------------------------------






---------------------------------
Bring words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

[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



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

News | FAQ | advertise