DetectedTextLine Class
Represents a single, contiguous line of text as detected within an image.
- Inheritance
-
builtins.objectDetectedTextLine
Constructor
DetectedTextLine(content: str, bounding_polygon: List[int], words: List[DetectedTextWord])
Parameters
Name | Description |
---|---|
content
Required
|
|
bounding_polygon
Required
|
|
words
Required
|
|
Attributes
bounding_polygon
A bounding polygon with points that enclose this line of text.
These points are polygon vertices, presented in clockwise order from the left (-180 degrees, inclusive) relative to the region's orientation. Coordinates are are in pixels, with (0,0) being the top-left of the source image.
bounding_polygon: List[int]
content
The text detected in this line.
content: str
words
A list of detected words associated with this line.
words: List[DetectedTextWord]
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python