From 3e4329493a8519e0e6e799941d259b4bd610d139 Mon Sep 17 00:00:00 2001 From: Samuel Fendell Date: Fri, 27 Sep 2024 10:39:01 -0700 Subject: [PATCH] Support percent for rectangles. --- .../src/labelbox/data/annotation_types/geometry/rectangle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/labelbox/src/labelbox/data/annotation_types/geometry/rectangle.py b/libs/labelbox/src/labelbox/data/annotation_types/geometry/rectangle.py index 5cabf0957..af37734b0 100644 --- a/libs/labelbox/src/labelbox/data/annotation_types/geometry/rectangle.py +++ b/libs/labelbox/src/labelbox/data/annotation_types/geometry/rectangle.py @@ -94,6 +94,7 @@ class RectangleUnit(Enum): INCHES = "INCHES" PIXELS = "PIXELS" POINTS = "POINTS" + PERCENT = "PERCENT" class DocumentRectangle(Rectangle):