Skip to content

OcrImage ​

Import from: @xbbg/xnews

Defined in: src/ocr.ts (declaration: ocr.d.ts:21)

One image to read, in an encoding the server accepts.

Properties ​

bytes ​

readonly bytes: Uint8Array

Defined in: src/ocr.ts (declaration: ocr.d.ts:22)


mediaType ​

readonly mediaType: string

Defined in: src/ocr.ts (declaration: ocr.d.ts:23)


page? ​

readonly optional page?: number

Defined in: src/ocr.ts (declaration: ocr.d.ts:25)

1-based page number, preserved on the result.

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.