serialize( config?: ToJsonConfiguration,): { _type?: "Block"; confidence?: number; lines?: { _type?: "Line"; confidence?: number; roi?: Point[]; serialize?: ( config?: ToJsonConfiguration, ) => { readonly _type?: "Line" | undefined; readonly text?: string | undefined; readonly confidence?: number | undefined; readonly roi?: Point[] | undefined; readonly words?: { readonly _type?: "Word" | undefined; ... 4 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined...
; text?: string; words?: { _type?: "Word"; confidence?: number; glyphs?: { _type?: (...)
| (...)
; confidence?: (...)
| (...)
; roi?: (...)
| (...)
; serialize?: (...)
| (...)
; text?: (...)
| (...)
; }[]; roi?: Point[]; serialize?: ( config?: ToJsonConfiguration, ) => { readonly _type?: "Word" | undefined; readonly text?: string | undefined; readonly confidence?: number | undefined; readonly roi?: Point[] | undefined; readonly glyphs?: { readonly _type?: "Glyph" | undefined; readonly text?: string | undefined; readonly confidence?: number | undefined; readonly roi?: Point[] | und...
; text?: string; }[]; }[]; roi?: Point[]; serialize?: ( config?: ToJsonConfiguration, ) => { readonly _type?: "Block" | undefined; readonly text?: string | undefined; readonly confidence?: number | undefined; readonly roi?: Point[] | undefined; readonly lines?: { readonly _type?: "Line" | undefined; ... 4 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefine...
; text?: string;}
Represents a single block, e.g. a paragraph. A block is made up of lines.