Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/datumaro/components/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ def wrap(item, **kwargs):
Returns:
RotatedBbox: A new RotatedBbox instance with updated attributes.
"""
d = {"x": item.x, "y": item.y, "w": item.w, "h": item.h, "r": item.r}
d = {"cx": item.cx, "cy": item.cy, "w": item.w, "h": item.h, "r": item.r}
d.update(kwargs)
return attr.evolve(item, **d)

Expand Down