write features to soft cascade xml

This commit is contained in:
marina.kolpakova
2012-12-14 17:57:55 +04:00
parent 1f01052955
commit 4356d34542
3 changed files with 38 additions and 11 deletions

View File

@@ -162,8 +162,8 @@ int main(int argc, char** argv)
cv::Mat thresholds;
boost.setRejectThresholds(thresholds);
boost.write(fso, thresholds);
boost.write(fsr);
boost.write(fso, pool, thresholds);
boost.write(fsr, pool);
// std::cout << "thresholds " << thresholds << std::endl;
cv::FileStorage tfs(("thresholds." + cfg.resPath(it)).c_str(), cv::FileStorage::WRITE);