No file gets created
No file gets created after using the below code.
fileStorage = cvOpenFileStorage( "facedata.xml", 0, CV_STORAGE_READ );
Can anyone tell what the problem is..??
No file gets created after using the below code.
fileStorage = cvOpenFileStorage( "facedata.xml", 0, CV_STORAGE_READ );
Can anyone tell what the problem is..??
Hi, you create a FileStorage for reading, not for writing. See OpenFileStorage documentation. By the way, you should avoid the old C-API if possible. Use instead the C++ interface. Here you can see how to read and write files with the C++ API.
Asked: 2014-02-02 09:25:19 -0600
Seen: 200 times
Last updated: Feb 05 '14