OcrInference
extends BaseInference
in package
Response for an OCR utility inference.
Table of Contents
Properties
- $file : InferenceFile
- $id : string
- $job : InferenceJob
- $model : InferenceModel
- $result : OcrResult
Methods
- __construct() : mixed
- __toString() : string
Properties
$file
public
InferenceFile
$file
File used for the inference.
$id
public
string
$id
ID of the inference.
$job
public
InferenceJob
$job
Job the inference belongs to.
$model
public
InferenceModel
$model
Model used for inference.
$result
public
OcrResult
$result
Result of the inference.
Methods
__construct()
public
__construct(array<string|int, mixed> $rawResponse) : mixed
Parameters
- $rawResponse : array<string|int, mixed>
-
Raw server response array.
__toString()
public
__toString() : string
Return values
string —String representation.