Ask Your Question
0

How to run the Cascade Classifier code?

asked 2017-04-24 03:53:45 -0500

sanaa gravatar image

can some one explan to me how to make this code running? i am working on windows with visual studio, and i am running from the cmd after executing the code. what i should write to the cmd: something.exe [parms] what should the [params] be?

edit retag flag offensive close merge delete

Comments

there is a tutorial about Cascade classifier

LBerger gravatar imageLBerger ( 2017-04-24 04:50:44 -0500 )edit

i did not mean the training, i mean the code here when i run the code i have to specify arguments, what are these arguments?

sanaa gravatar imagesanaa ( 2017-04-24 06:58:49 -0500 )edit
berak gravatar imageberak ( 2017-04-24 08:24:40 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-04-24 08:20:44 -0500

@sanaa, take a close look at the code you are compiling. The code parses command line arguments and desires 2 input values, if you want to use both, being a model for the eyes and a model for the face. This means your execution should be something like something.exe --face_cascade=/path/to/frontal/face/model/on/your/system.txt --eyes_cascade=/path/to/eye/model/on/your/system.txt.

Then it should run just fine. In the future, having an idea of what to pass can be get by calling the help parameter using something.exe --help

edit flag offensive delete link more

Comments

Thank you alot, that what i need

sanaa gravatar imagesanaa ( 2017-04-24 11:03:50 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-04-24 03:53:45 -0500

Seen: 107 times

Last updated: Apr 24 '17