BarCode¶
-
class
oci.ai_document.models.
BarCode
(**kwargs)¶ Bases:
object
A single bar code.
Methods
__init__
(**kwargs)Initializes a new BarCode object with values from keyword arguments. Attributes
bounding_polygon
[Required] Gets the bounding_polygon of this BarCode. code_type
Gets the code_type of this BarCode. confidence
[Required] Gets the confidence of this BarCode. value
[Required] Gets the value of this BarCode. -
__init__
(**kwargs)¶ Initializes a new BarCode object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - confidence (float) – The value to assign to the confidence property of this BarCode.
- value (str) – The value to assign to the value property of this BarCode.
- code_type (str) – The value to assign to the code_type property of this BarCode.
- bounding_polygon (oci.ai_document.models.BoundingPolygon) – The value to assign to the bounding_polygon property of this BarCode.
-
bounding_polygon
¶ [Required] Gets the bounding_polygon of this BarCode.
Returns: The bounding_polygon of this BarCode. Return type: oci.ai_document.models.BoundingPolygon
-
code_type
¶ Gets the code_type of this BarCode. the encoding schema of bar code.
Returns: The code_type of this BarCode. Return type: str
-
confidence
¶ [Required] Gets the confidence of this BarCode. the confidence score between 0 and 1.
Returns: The confidence of this BarCode. Return type: float
-
value
¶ [Required] Gets the value of this BarCode. the bar code value.
Returns: The value of this BarCode. Return type: str
-