OcrResponse
extends BaseResponse
in package
Response for an OCR utility inference.
Table of Contents
Properties
- $inference : OcrInference
- $slug : string
Methods
- __construct() : mixed
- getRawHttp() : string
Properties
$inference
public
OcrInference
$inference
Result of an OCR inference.
$slug
public
static string
$slug
= "ocr"
Slug for the inference.
Methods
__construct()
public
__construct(array<string|int, mixed> $rawResponse) : mixed
Parameters
- $rawResponse : array<string|int, mixed>
-
Raw server response array.
getRawHttp()
public
getRawHttp() : string
Return values
string —Raw dump of the JSON response.