MpatAllocAutoModel()函数
Synopsis
Automatically allocate a unique pattern matching model from a source image.
Format
MIL_ID MpatAllocAutoModel(SystemId, SrcImageBufId, SizeX, SizeY, PosUncertaintyX, PosUncertaintyY, ModelType, Mode, ModelIdPtr)
MIL5.1版本的所有函数说明分享,并写出函数使用的一些心得!
Synopsis
Automatically allocate a unique pattern matching model from a source image.
Format
MIL_ID MpatAllocAutoModel(SystemId, SrcImageBufId, SizeX, SizeY, PosUncertaintyX, PosUncertaintyY, ModelType, Mode, ModelIdPtr)
Synopsis
Verify a known string in an image.
Format
void MocrVerifyString(ImageBufId, FontId, String, OcrResultId)
Synopsis
Set character position constraints.
Format
void MocrSetConstraint(FontId, CharPos, CharPosType, CharValidString)
Synopsis
Save an existing font to disk.
Format
void MocrSaveFont(FileName, Operation, FontId)
Synopsis
Restore a font from disk.
Format
MIL_ID MocrRestoreFont(FileName, Operation, SystemId, FontIdPtr)
Synopsis
Read an unknown string from an image.
Format
void MocrReadString(ImageBufId, FontId, OcrResultId)
Synopsis
Invert or resize a font to match the target image characters.
Format
MIL_ID MocrModifyFont(FontId, Operation, ControlValue)
Synopsis
Retrieves font character information.
Format
void MocrInquire(FontId, InquireItem, ResultPtr)
Synopsis
Import font data from file on disk.
Format
void MocrImportFont(FileName, FileFormat, Operation, CharListString, FontId)
Synopsis
Hook function to an event.
Format
MOCRHOOKFCTPTR MocrHookFunction(FontId, HookType, HookHandlerPtr, UserDataPtr)