OcrResult
@forge/monorepo / backend/src / OcrResult
Type Alias: OcrResult
OcrResult =
object
Defined in: backend/src/documents/vision.ts:58
Properties
blocks
readonlyblocks: readonlyDocumentBlock[]
Defined in: backend/src/documents/vision.ts:59
confidence
readonlyconfidence:number
Defined in: backend/src/documents/vision.ts:67
0–1, the engine's own confidence.
Required, not optional. An engine that cannot report one should say 0 and let the low-confidence flag
fire, because "no confidence reported" and "high confidence" must never be the same value — the default
would be the optimistic one and nobody would notice.
pageCount?
readonlyoptionalpageCount?:number
Defined in: backend/src/documents/vision.ts:68
warnings?
readonlyoptionalwarnings?: readonlystring[]
Defined in: backend/src/documents/vision.ts:69