Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you cannot use imwrite() for this (float features), stick with the FileStorage !

FileStorage storage(format("normalisation.%i.xml", i), FileStorage::WRITE); storage << "hogfeature" << HogFeat; // basically - it's a key-value store. storage.release(); // nothing will happen, unless you actually flush/close it.

you cannot use imwrite() for this (float features), stick with the FileStorage !

FileStorage storage(format("normalisation.%i.xml", i), FileStorage::WRITE);
storage << "hogfeature" << HogFeat; // basically - it's a key-value store.
storage.release(); // nothing will happen, unless you actually flush/close it.

storage.release();