1

我正在使用 Finereader 11 的试用版来扫描名片。到目前为止,它忽略了所有变音符号。

我应该以不同的方式初始化引擎吗?我需要指定我想要的语言吗?

IFRDocument document = engine.CreateFRDocument();
document.AddImageFile("c:/temp/ctrk.bmp", pim, null);
IDocumentProcessingParams idpp = engine.CreateDocumentProcessingParams();
idpp.getPageProcessingParams().getRecognizerParams().setDetectLanguage(true);
document.Process(idpp);
if(document.getBusinessCards().getCount() > 0)
{
    IBusinessCard card = document.getBusinessCards().getElement(0);
    card.ExportToVCard("c:/temp/abbyy.vcf");
}
4

1 回答 1

0

这是检测名片的方法。

// Create parameters of document processing
FREngine.DocumentProcessingParams dpp = engine.CreateDocumentProcessingParams();
// A page can contain several business cards
dpp.PageProcessingParams.PageAnalysisParams.DetectMultipleBusinessCards = true;
// Perform recognition with the specified parameters
frDoc.Process( dpp );

// Access a business card
FREngine.BusinessCard card = frDoc.BusinessCards[0];
于 2016-12-12T03:23:23.787 回答