MpatSetCenter()函数
Synopsis
Set the pattern matching model center.
Format
void MpatSetCenter(ModelId, OffX, OffY)
记录分享,MIL5.1版本的Mocr字符识别模块,主要运用在字母和数字识别方面,例如a-z,0-9的识别。
Synopsis
Set the pattern matching model center.
Format
void MpatSetCenter(ModelId, OffX, OffY)
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)