Ask Your Question

No file gets created

asked 2014-02-02 09:25:19 -0500

updated 2014-02-05 04:53:40 -0500

No file gets created after using the below code.

fileStorage = cvOpenFileStorage( "facedata.xml", 0, CV_STORAGE_READ );

Can anyone tell what the problem is..??

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-03 01:28:31 -0500

Siegfried gravatar image

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.

edit flag offensive delete link more

Question Tools


Asked: 2014-02-02 09:25:19 -0500

Seen: 91 times

Last updated: Feb 05 '14