Skip to content

ocrImages ​

Import from: @xbbg/xnews

ocrImages(images, options): Promise<OcrResult>

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

Reads a set of page images. Pages are batched, and a batch that fails is reported rather than silently dropped, so a partial read is visible as missing page numbers plus a warning instead of looking like a short book.

Parameters ​

images ​

readonly OcrImage[]

options ​

OcrOptions

Returns ​

Promise<OcrResult>

Last updated:

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