Class: Ocr

Ocr(opts)

The Ocr class wraps node operations

Cannot directly be instantiated

Constructor

new Ocr(opts)

Creates a Node

Parameters:
Name Type Description
opts object

The configuration options.

Methods

hasOCRDataCapture() → {Promise.<*>}

Check if ocr data capture is enabled

Returns:

Return true when ocr data capture is enabled

Type
Promise.<*>

hasOCRDataCapture() → {Promise.<*>}

Check if ocr data capture is enabled

Returns:

Return true when ocr data capture is enabled

Type
Promise.<*>

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setToken(token)

Set the token in Node variables

Parameters:
Name Type Description
token

The authorization token value

setToken(token)

Set the token in Node variables

Parameters:
Name Type Description
token

The authorization token value

Ocr(opts)

The Ocr class wraps node operations

Cannot directly be instantiated

Constructor

new Ocr(opts)

Creates a Node

Parameters:
Name Type Description
opts object

The configuration options.

Methods

hasOCRDataCapture() → {Promise.<*>}

Check if ocr data capture is enabled

Returns:

Return true when ocr data capture is enabled

Type
Promise.<*>

hasOCRDataCapture() → {Promise.<*>}

Check if ocr data capture is enabled

Returns:

Return true when ocr data capture is enabled

Type
Promise.<*>

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setToken(token)

Set the token in Node variables

Parameters:
Name Type Description
token

The authorization token value

setToken(token)

Set the token in Node variables

Parameters:
Name Type Description
token

The authorization token value