ApplyOCRTextLayerExA
OCR、文字、DLL
描述
透過 DLL 窄字串慣例,套用與 ApplyOCRTextLayerEx 相同的自有可搜尋文字圖層
語法
int DLApplyOCRTextLayerExA(int InstanceID, int Page, const char* ResultJSON,
const char* FontName, double MinConfidence, int Options);傳回值
已提交圖層、既有文字政策略過頁面,或沒有任何字組達到信賴度閾值時傳回 1;輸入、幾何、選項、字型編碼或圖層寫入失敗時傳回 0
備註
輸入字串以實例的 ANSI 對寬字串轉換組態解碼;想不受該組態影響傳入 Unicode,請改用寬字串進入點
JSON schema、圖層政策與自有圖層規則請見 ApplyOCRTextLayerEx
另請參閱
ApplyOCRTextLayerEx, OCRPageEx, OCRDocumentEx, GetOCRDiagnosticsJSON