Add constraints to shape attributes

I was annotating some images for instance segmentation. And during training I discovered an unusual point where the x coordinate is -1. Then I examined the annotation in via, and found that the point indeed seems to be placed outside the image:

屏幕截图_5

I think there should be constraints to shape attributes to prevent this from happening; i.e., the x and y coordinates should fall within the range of the image size.

Assignee Loading
Time tracking Loading