Click here to Skip to main content
14,485,891 members
Rate this:
Please Sign up or sign in to vote.
See more:
I try to make face detection module. On below exmpe have load some stuuf to project using
int main(int argc, const char *argv[]) 

Alway it has only one parameter named /path64/debug/facedetece.exe
How add other resources to project. Plese help me
Thank you

What I have tried:

Face Recognition in Videos with OpenCV — OpenCV 3.0.0-dev documentation[^]
Posted
Updated 3-Jan-17 21:01pm

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

You must pass the additional arguments on the command line when executing the program.

When using a command shell type:
/path64/debug/facedetece.exe </path/to/haar_cascade> </path/to/csv.ext> </path/to/device id>
replacing the argument place holders with your actual pathes and file names.

When using some kind of IDE (C++ development environment), check the documentation of that on how to specify these arguments in the project settings to be passed when starting the application from within the IDE.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100