Documentation

OcrPage
in package
implements Stringable

Ocr result for a single page.

Table of Contents

Interfaces

Stringable

Properties

$content  : string
$words  : array<string|int, OcrWord>

Methods

__construct()  : mixed
__toString()  : string

Properties

$content

public string $content

Full text content extracted from the document page.

$words

public array<string|int, OcrWord> $words

Ocr result for a single page.

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