Click here to Skip to main content
15,889,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It is possible to change project properties to look for data files in other directory instead in the default source code directory?
There is another way in the code?

I would like to run some of the DNN samples of deep learning algorithms included in OpenCV 3.3.
The problem is that they include a lot of sample images and files in a directory.

I should like not to change all file names xxx.jpg by data/dnn/xxx.jpg at the source code

What I have tried:

I tried copy all sample files in source code directory
Posted
Updated 24-Sep-17 23:45pm
v2
Comments
Richard MacCutchan 20-Sep-17 4:34am    
Are you referring to files used by the build process, or when you run the program?

1 solution

In the project settings of Visual Studio you can set some different directories for code, libs and so on.

Tip: use relative pathes
 
Share this answer
 
Comments
Javier Luis Lopez 25-Sep-17 5:46am    
Which is the right directory?

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900