Skip to content

questions in bounding_box.py #78

@zhongdajian

Description

@zhongdajian

Sorry to bother you! In the file bounding_box.py, crop and rotate will change the chars' locations, but these operations keep the origin char_masks:
if not isinstance(v, torch.Tensor) and k != "char_masks":
v = v.rotate(angle, r_c, start_h, start_w)

if not isinstance(v, torch.Tensor) and k != "char_masks":
v = v.crop(box,keep_ind)
Are there codes handle this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions