Documentation

OcrWord
in package
implements Stringable

Ocr result for a single word extracted from the document page.

Table of Contents

Interfaces

Stringable

Properties

$content  : string
$polygon  : Polygon

Methods

__construct()  : mixed
__toString()  : string

Properties

$content

public string $content

Content of the word.

$polygon

public Polygon $polygon

Location which includes cropping coordinates for the detected object, within the source document.

Methods

__construct()

public __construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawResponse) : mixed
Parameters
$rawResponse : array<string, int|float|string|bool|null|array<string|int, mixed>>

Raw server response array.

__toString()

public __toString() : string
Return values
string

String representation.

On this page

Search results