Ask Your Question
0

No file gets created

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

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

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
4

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

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
Login/Signup to Answer

Question Tools

Stats

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

Seen: 62 times

Last updated: Feb 05 '14