fixed Linemod's Detector write method (removed nested sequence delimiters)

This commit is contained in:
Vadim Pisarevsky 2012-04-27 18:09:57 +00:00
parent 9b382d07f6
commit 1a9758c0a2

View File

@ -1712,7 +1712,7 @@ void Detector::read(const FileNode& fn)
void Detector::write(FileStorage& fs) const
{
fs << "pyramid_levels" << pyramid_levels;
fs << "T" << "[:" << T_at_level << "]";
fs << "T" << T_at_level;
fs << "modalities" << "[";
for (int i = 0; i < (int)modalities.size(); ++i)