提交 54f92013 编写于 作者: G Gary Bradski

fix to Detector::write so that it doesn't abort on read

上级 2799f51b
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册