Skip to content

Commit

Permalink
Add imageHeight and imageWidth in ai-annotate-rectangles
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Oct 14, 2024
1 parent ba705b7 commit 2c06965
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions labelme_toolkit/_cli/_ai_annotate_rectangles.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def _ai_annotate_rectangles(
"shapes": shapes,
"imagePath": os.path.basename(image_file),
"imageData": None,
"imageHeight": image.shape[0],
"imageWidth": image.shape[1],
},
f,
indent=2,
Expand Down

0 comments on commit 2c06965

Please sign in to comment.