Documentation

PredictOptions
in package

Handles options tied to Predictions.

Table of Contents

Properties

$cropper  : bool
$fullText  : bool
$includeWords  : bool

Methods

__construct()  : mixed
Prediction options.
setCropper()  : $this
setFullText()  : $this
setIncludeWords()  : $this

Properties

$cropper

public bool $cropper

Whether to include cropper results for each page. This performs a cropping operation on the server and may increase response time.

$fullText

public bool $fullText

Whether to include the full OCR text response in compatible APIs. This performs a full OCR operation on the server and will increase response time.

$includeWords

public bool $includeWords

Whether to include the full text for each page. This performs a full OCR operation on the server and will increase response time.

Methods

setCropper()

public setCropper(bool $cropper) : $this
Parameters
$cropper : bool

Whether to include the Cropper.

Return values
$this

setFullText()

public setFullText(bool $fullText) : $this
Parameters
$fullText : bool

Whether to include the full text.

Return values
$this

setIncludeWords()

public setIncludeWords(bool $includeWords) : $this
Parameters
$includeWords : bool

Whether to include the full text.

Return values
$this

        
On this page

Search results