issues
search
labelmeai
/
labelme
Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
https://labelme.io
Other
13.11k
stars
3.37k
forks
source link
Create a rotate rectangle shape
#1458
Closed
BeCoolMaker
closed
1 month ago
BeCoolMaker
commented
2 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.