Can not open the config file for camera calibration when run the code
Hi
Im using the camera calibration source code from OpenCV in this link http://docs.opencv.org/2.4/doc/tutori...)
In the configuration file may choose to use camera as an input, a video file or an image list.I would like to use the last option . So I tried to create a configuration file where I enumerate the images to use.
Here’s my configuration file .
<?xml version="1.0"?>
-<opencv_storage>
<images> C:\Users\admin\Desktop\Images\img1.png C:\Users\admin\Desktop\Images\img2.png C:\Users\admin\Desktop\Images\im3.png C:\Users\admin\Desktop\Images\img4.png C:\Users\admin\Desktop\Images\img5.png C:\Users\admin\Desktop\Images\img6.png C:\Users\admin\Desktop\Images\img7.png C:\Users\admin\Desktop\Images\img8.png </images>
</opencv_storage>
So far I understand the config file in Visual Studio 2012 need to be specified with Right click on Project-> Properties-> Configuration->Configuration Properties, Debugging then Command Argument where I put the name of the config file. Then I placed the the config.xml file the project source file in Visual Studio 2012. But when run the code I code this error come in command window:
Could not open the configuration file:config.xml
Any help?
you also have to fill the startup path in the debugging properties, pointing it to the folder, where you put that file.
yes done it
Then I got this error : Invalid input detected. Whats wrong now?
one of those tests failed
try using forward slashes in your image path
done still same error
I dont know what is wrong with config file. any help?