Mechanism Objects Compatibility with Version 10
This section describes all changes to mechanism objects which may require changes in the source code of your applications.
- The obsolete DocumentAnalyzer and Exporter objects have been removed. Use the more efficient methods of the FRDocument and FRPage objects, which take care of all the information needed for full document processing. You are no longer required to maintain the DocumentInfo object on all processing stages, keep track of all the image documents with the corresponding layouts, or implement the IRecognizedPages interface.
See below for recommendations on which methods should replace the methods of DocumentAnalyzer and Exporter you previously used.
Object/Enumeration | Property/Method/Constant | What has happened? | Comment |
---|---|---|---|
DocumentAnalyzer | Removed | The object is obsolete. Its methods were replaced by more efficient methods of the FRDocument and FRPage objects, which do not require you to maintain the DocumentInfo object on all processing stages, or implement the IRecognizedPages interface. | |
AddWordsToCacheDictionary AddWordToCacheDictionary CleanCacheDictionary |
Removed | Use the IFRPage::AddWordsToCacheDictionary, IFRPage::AddWordToCacheDictionary, IFRPage::CleanCacheDictionary methods for working with cache dictionaries. | |
AnalyzePage | Removed | Use the IFRPage::Analyze method instead. | |
AnalyzePages | Removed | Use the IFRDocument::Analyze method instead. | |
AnalyzeRegion | Removed | Use the IFRPage::AnalyzeRegion method instead. | |
AnalyzeTable | Removed | Use the IFRPage::AnalyzeTable method instead. | |
AnalyzeAndRecognizePage | Removed | Use the IFRPage::PreprocessAnalyzeRecognize method instead. | |
AnalyzeAndRecognizePages | Removed | Use the IFRDocument::Process method instead. It performs full processing of the document, including document synthesis. | |
AutoCleanRecognizerSession | Removed | Use the IEngine::AutoCleanRecognizerSession property, which works in exactly the same way. | |
CleanRecognizerSession | Removed | Use the IEngine::CleanRecognizerSession method, which works in exactly the same way. | |
DetectOrientation | Removed | Use the IFRPage::DetectOrientation method instead. | |
ExtractBarcodes | Removed | Use the IFRPage::ExtractBarcodes method instead. | |
FindPageSplitPosition | Removed | Use the IFRPage::FindPageSplitPosition method instead. | |
LearnCheckmarks | Removed | Use the IFRPage::LearnCheckmarks method instead. | |
RecognizeBlocks | Input parameters number changed | Use the IFRPage::RecognizeBlocks method instead. | |
RecognizeImageAsPlainText | Removed | To recognize an image as plain text create the FRDocument from the image with the help of the IEngine::CreateFRDocumentFromImage method, use the IFRDocument::Process method to recognize the document, then access the IFRDocument::PlainText property. | |
RecognizeImageDocumentAsPlainText | Removed | To recognize the page as plain text, use the IFRPage::PreprocessAnalyzeRecognize method, then access the IFRPage::PlainText property. | |
RecognizePage | Removed | Use the IFRPage::Recognize method instead. | |
RecognizePages | Removed | Use the IFRDocument::Recognize method instead. | |
RemoveGeometricalDistortions | Removed | Use the IFRPage::CorrectGeometricalDistortions method instead. | |
IDocumentAnalyzerEvents | Removed |
This interface is no longer necessary because the object which reported events has been removed. The IFRDocumentEvents and IFRPageEvents interfaces provide similar information on progress and errors for the objects which replaced DocumentAnalyzer. |
|
Exporter | Removed | The object is obsolete. Its methods were replaced by more efficient methods of the FRDocument and FRPage objects, which do not require you to maintain the DocumentInfo object on all processing stages, or implement the IRecognizedPages interface. | |
ExportPage | Removed | Use the IFRPage::Export method instead. | |
ExportPagesEx | Removed | Use the IFRDocument::Export method instead. | |
IExporterEvents | Removed |
This interface is no longer necessary because the object which reported events has been removed. The IFRDocumentEvents and IFRPageEvents interfaces provide similar information on progress and errors for the objects which replaced Exporter. |
|
FREngineModuleEnum | FREM_DocumentAnalyzer | Removed | This constant is no longer in use. |
03.07.2024 8:50:25