Constructors
constructor
- new OCRHMMDecoder(classifier, vocabulary, transitionPropabilitiesTable, emissionPropabilitiesTable, mode?): OCRHMMDecoder
Parameters
vocabulary: string
transitionPropabilitiesTable: Mat
emissionPropabilitiesTable: Mat
Optional
mode: number
Methods
run
- run(img, mask?, componentLevel?): string
Parameters
Optional
mask: Mat
Optional
componentLevel: number
Returns string
runAsync
- runAsync(img, mask?, componentLevel?): Promise<string>
Parameters
Optional
mask: Mat
Optional
componentLevel: number
Returns Promise<string>
runWithInfo
- runWithInfo(img, mask?, componentLevel?): OCRHMMDecoderRunWithInfoRet
Parameters
Optional
mask: Mat
Optional
componentLevel: number
runWithInfoAsync
- runWithInfoAsync(img, mask?, componentLevel?): Promise<OCRHMMDecoderRunWithInfoRet>
Parameters
Optional
mask: Mat
Optional
componentLevel: number