Ocr
OCRInferenceResponse
¶
Bases: BaseModel
OCR Inference response.
Attributes:
Name | Type | Description |
---|---|---|
result |
str
|
The combined OCR recognition result. |
predictions |
List[ObjectDetectionPrediction]
|
List of objects detected by OCR |
time |
float
|
The time in seconds it took to produce the inference including preprocessing |
Source code in inference/core/entities/responses/ocr.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|