labelme
labelme copied to clipboard
Create a rotate rectangle shape
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.