LabelMe v6.2 Ships Rotated Bounding Boxes to Fix Sloppy AI Annotations
LabelMe v6.2 adds rotated bounding boxes as a first-class shape and lets SAM masks snap to rectangles, oriented rectangles, or circles.
Takeaways
- LabelMe v6.2 adds oriented rectangle as a first-class shape, drawn with three clicks that lock heading and dimensions.
- Corner drag preserves right angles; edge midpoints rotate the shape around its center with a heading arrow shown on canvas.
- AI-Points and AI-Box can now output polygon, mask, rectangle, oriented rectangle, or circle, all fitted from the SAM mask.
- Targets aerial imagery, ships, packaged goods on conveyors, and scanned text where axis-aligned boxes leak into neighbors.
- Fixes include right-click Add Point to Edge, snap highlight cleanup, and Python 3.14 CI support. See the repo.
- Install with
pip install -U labelme, GPL-3.0, or grab the paid standalone at labelme.io.
Axis-aligned bounding boxes have always been a bit of a lie. A car photographed from above at 30 degrees, a ship in a satellite tile, a line of text in a scanned document, all sit at angles that a horizontal-vertical box has to wrap sloppily, leaking pixels into whatever sits next to it. LabelMe, the Python-and-Qt annotation tool sitting at 16k stars on GitHub, just shipped v6.2 to fix that, along with a broader set of shape outputs when SAM is doing the drawing for you.
The headline change is oriented rectangle, a rotated bounding box that becomes a first-class citizen alongside polygons and axis-aligned rectangles. SAM masks can now be converted to oriented rectangles, axis-aligned rectangles, or circles in addition to polygons, so the same SAM click that used to give you a polygon can snap to whatever geometry your downstream model actually consumes.
Three clicks, one rectangle, zero drift
The rotated box is not a free quadrilateral. It stays a proper rectangle no matter how you edit it, which is what makes it usable for training an oriented detector rather than a scribble tool. Create, edit, save, and load all sit on the same footing as polygons and axis-aligned rectangles. The first click anchors the starting corner. The second click fixes one full edge, which locks the orientation. The third click projects perpendicular to that edge to complete the shape, so the angle you committed in step two is the angle you keep.