OCR SDK Knowledge Base

Article ID: 2080 | Category: Programming Aspects | Type: FAQ | Last Modified: 12/21/2017

Correlation between FineReader Engine and Cloud OCR SDK for processImage

Description

What recognition settings do I have to set in FineReader Engine 11 to get it working like in Cloud OCR SDK?

 

Solution

FineReader Engine 11 and Cloud OCR SDK are based on the same generation of OCR technology, however the versions are different, that's why some minor differences are possible in the recognition results.

To get similar recognition results in both products you should use the same recognition settings. Below you can find a table, that shows correlation between FineReader Engine 11 and Cloud OCК SDK for the processImage method:

Parameter in Cloud OCR SDK

Parameter in FREngine 11

language IRecognizerParams::TextLanguage
profile Use the IEngine::LoadPredefinedProfile method
with the corresponding value: 
documentConversion DocumentConversion_Accuracy
documentArchiving DocumentArchiving_Accuracy
textExtraction TextExtraction_Accuracy
barcodeRecognition BarcodeRecognition_Accuracy
textType IRecognizerParams::TextTypes
normal TT_Normal
typewriter TT_Typewriter
matrix TT_Matrix
index TT_Index
ocrA TT_OCR_A
ocrB TT_OCR_B
e13b TT_MICR_E13B
cmc7 TT_MICR_CMC7
gothic TT_Gothic
imageSource IPagePreprocessingParams::GeometryCorrectionMode
auto, photo GCM_Correct
scanner GCM_DontCorrect
correctOrientation IPagePreprocessingParams::CorrectOrientation
true TRUE
false FALSE
correctSkew IPrepareImageMode::CorrectSkew
true TRUE
false FALSE
exportFormat Use the IFRDocument::Export method with the parameters:
txt FileExportFormatEnum::FEF_TextUnicodeDefaults
ITextExportParams::RetainLayout=TRUE
txtUnstructured FileExportFormatEnum::FEF_TextUnicodeDefaults
ITextExportParams::RetainLayout=FALSE
rtf FileExportFormatEnum::FEF_RTF
docx FileExportFormatEnum::FEF_DOCX
xlsx FileExportFormatEnum::FEF_XLSX
pptx FileExportFormatEnum::FEF_PPTX
pdfSearchable FileExportFormatEnum::FEF_PDF
IPDFExportParams::TextExportMode=PEM_ImageOnText
pdfTextAndImages FileExportFormatEnum::FEF_PDF
IPDFExportParams::TextExportMode=PEM_TextOnImage
xml FileExportFormatEnum::FEF_XML
IXMLExportParams::WriteCharAttributes=XCA_Basic
IXMLExportParams::WriteNondeskewedCoordinates=TRUE
xmlForCorrectedImage FileExportFormatEnum::FEF_XML
IXMLExportParams::WriteCharAttributes=XCA_Basic
IXMLExportParams::WriteNondeskewedCoordinates=FALSE
alto FileExportFormatEnum::FEF_ALTO
xml:writeRecognitionVariants IXMLExportParams::WriteCharacterRecognitionVariants
true TRUE
false FALSE
182 people think this is helpful.
Was this information helpful to you?