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.
2 | No.2 Revision |
you cannot use imwrite() for this (float features), stick with the FileStorage !
FileStorage storage(format("normalisation.%i.xml", i), FileStorage::WRITE);
storage << "hogfeature" << HogFeat;