Skip to content

Commit

Permalink
Fix invalid escape in BoundingBox docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Belval authored Nov 6, 2024
2 parents 2cd3f53 + 0f5d651 commit e3d30a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions textractor/entities/bbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def __init__(self, width: float, height: float):
class BoundingBox(SpatialObject):
"""
Represents the bounding box of an object in the format of a dataclass with (x, y, width, height). \
By default :class:`BoundingBox` is set to work with denormalized co-ordinates: :math:`x \in [0, docwidth]` and :math:`y \in [0, docheight]`. \
Use the as_normalized_dict function to obtain BoundingBox with normalized co-ordinates: :math:`x \in [0, 1]` and :math:`y \in [0, 1]`. \\
By default :class:`BoundingBox` is set to work with denormalized co-ordinates: :math:`x \\in [0, docwidth]` and :math:`y \\in [0, docheight]`. \
Use the as_normalized_dict function to obtain BoundingBox with normalized co-ordinates: :math:`x \\in [0, 1]` and :math:`y \\in [0, 1]`. \\
Create a BoundingBox like shown below: \\
Expand Down

0 comments on commit e3d30a0

Please sign in to comment.