1 | initial version |
yes that's possible, but only for cascades generated by the newer cascade_training tool.
CascadeClassifier cc;
FileStorage fs( the_whole_cascade_in_a_string, FileStorage::READ | FileStorage::MEMORY);
cc.read(fs.getFirstTopLevelNode());
2 | No.2 Revision |
yes that's possible, but only for cascades generated by the newer cascade_training tool.
CascadeClassifier cc;
FileStorage fs( the_whole_cascade_in_a_string, FileStorage::READ | FileStorage::MEMORY);
cc.read(fs.getFirstTopLevelNode());
(you can convert old cascades to the new format with CascadeClassifier::convert() )
3 | No.3 Revision |
yes that's possible, but only for cascades generated by the newer cascade_training tool.
CascadeClassifier cc;
FileStorage fs( the_whole_cascade_in_a_string, FileStorage::READ | FileStorage::MEMORY);
cc.read(fs.getFirstTopLevelNode());
(you (with 3.0, you can convert old cascades to the new format with CascadeClassifier::convert() )