issues
search
wkentaro
/
labelme
Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
https://labelme.io
Other
13.52k
stars
3.41k
forks
source link
Create a rotate rectangle shape
#1458
Closed
BeCoolMaker
closed
4 months ago
BeCoolMaker
commented
4 months ago
Created a new shape in rotate_rectangle_shape.py.
You can create a rotating rectangle and use the Z \ C button to rotate it,
With each rotation angle of 1°.
Boundary detection has been set up, and restrictions have been imposed on rectangular edges that exceed the boundary or are too small
The rotating rectangle will be stored in a JSON file with 4 vertices, just like Polygons.
Maintained the integrity of the original code and considered future compatibility.
Created a new shape in rotate_rectangle_shape.py.