T O P I C R E V I E W |
zhengyuanyi27 |
Posted - Jan 05 2019 : 10:41:25 I found the source OCR can only recognize English characters. And I found a sentences in the OCR source code " cmbLanguage.Items.Add(IEOCRLanguageList[OCR_English_language].DisplayName);" My questions and request is : Could somebody tell me how to add other language to the OCR, such as simple Chinese? Thanks a lot. Yuanyi
|
2 L A T E S T R E P L I E S (Newest First) |
zhengyuanyi27 |
Posted - Jan 10 2019 : 00:05:52 Thanks a lot! |
xequte |
Posted - Jan 05 2019 : 14:30:54 Hi Yuanyi
Download the OCR languages from:
http://www.imageen.com/files/Reg/IEVision_OCR/IEVision_AllLanguages.zip
Copy the Simplified or Traditional Chinese TrainedData file to the same folder as your EXE and call as follows:
sLanguage := 'chi_sim'; // Simplified Chinese if FileExists( IncludeTrailingPathDelimiter( ExtractFilePath( Application.ExeName )) + sLanguage + '.traineddata' ) = False then raise Exception.create( 'Language file not found' ); OCR := IEVisionLib.createOCR( sLanguage )
More Info: https://www.imageen.com/help/TIEVisionLibrary.createOCR.html
Also, if you try the OCR demo from Demos\IEVision\OCR\. It will automatically support (show as an option) any language files found in the same folder as the demo exe.
Nigel Xequte Software www.imageen.com |