Commit e0813cbf authored by Davis King's avatar Davis King

updated to work with the new parts map.

parent ef9c773b
...@@ -83,8 +83,9 @@ namespace ...@@ -83,8 +83,9 @@ namespace
if (words[0] == "Center" && words[1] == "point" && words.size() > 9) if (words[0] == "Center" && words[1] == "point" && words.size() > 9)
{ {
img.boxes[idx].head.x() = sa = words[8]; const long x = sa = words[8];
img.boxes[idx].head.y() = sa = words[9]; const long y = sa = words[9];
img.boxes[idx].parts["head"] = point(x,y);
} }
else if (words[0] == "Bounding" && words[1] == "box" && words.size() > 13) else if (words[0] == "Bounding" && words[1] == "box" && words.size() > 13)
{ {
......
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