Skip to content

Commit

Permalink
fix index into image_dimensions for drawing bounding boxes in object …
Browse files Browse the repository at this point in the history
…detection flyout (#2550)
  • Loading branch information
imatiach-msft committed Apr 4, 2024
1 parent 76e0de4 commit 4bb3835
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export function drawBoundingBoxes(
editor,
dataset,
scaleCoordinate,
dataset.image_dimensions[oidx],
dataset.image_dimensions[item.index],
gtObject,
annotation,
theme.palette.green,
Expand All @@ -198,7 +198,7 @@ export function drawBoundingBoxes(
editor,
dataset,
scaleCoordinate,
dataset.image_dimensions[oidx],
dataset.image_dimensions[item.index],
predObject,
annotation,
theme.palette.magenta,
Expand Down

0 comments on commit 4bb3835

Please sign in to comment.