Commit 912f8ff3 authored by Maria Dimashova's avatar Maria Dimashova

commented fix write/read keypoints temporarily

parent b181d78c
......@@ -59,7 +59,7 @@ void write(FileStorage& fs, const string& objname, const vector<KeyPoint>& keypo
write(fs, kpt.angle);
write(fs, kpt.response);
write(fs, kpt.octave);
write(fs, kpt.class_id);
// write(fs, kpt.class_id);
}
}
......@@ -71,7 +71,7 @@ void read(const FileNode& node, vector<KeyPoint>& keypoints)
for( ; it != it_end; )
{
KeyPoint kpt;
it >> kpt.pt.x >> kpt.pt.y >> kpt.size >> kpt.angle >> kpt.response >> kpt.octave >> kpt.class_id;
it >> kpt.pt.x >> kpt.pt.y >> kpt.size >> kpt.angle >> kpt.response >> kpt.octave/* >> kpt.class_id*/;
keypoints.push_back(kpt);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment