Skip to content

Commit

Permalink
Merge pull request #123 from jbovee/fix-toCOCO-bbox
Browse files Browse the repository at this point in the history
Fix toCOCO bbox returning undefined
  • Loading branch information
amitguptagwl authored Oct 15, 2018
2 parents db7a28e + 9e2444b commit 994437e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataformaters/coco.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var cocoFormater = {
area : area,
"iscrowd": 0,
"image_id": image_i+1,
"bbox": shape_i.bbox,
"bbox": shape.bbox,
"category_id": categories.indexOf(shape.category) + 1,
"id": shape_i+1,
"ignore": 0
Expand Down

0 comments on commit 994437e

Please sign in to comment.