Skip to content

Commit

Permalink
removed earlier bbox emulation changes for label annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Viditagarwal7479 committed Mar 30, 2024
1 parent 366e60f commit 817b65c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions cvat/apps/quality_control/quality_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,26 +628,6 @@ def _convert_tag(self, tag):
for dm_ann in converted:
dm_ann.id = tag.id

new_annotations = []
for ann in converted:
if isinstance(ann, Label):
new_annotations.append(
Bbox(
0,
0,
1,
1,
id=ann.id,
label=ann.label,
group=ann.group,
z_order=0,
attributes={"occluded": False, "rotation": 0.0},
)
)
else:
new_annotations.append(ann)
converted = new_annotations

self._factory.remember_conversion(tag, converted)
return converted

Expand Down

0 comments on commit 817b65c

Please sign in to comment.