CheckMarkBlock Recognition

  • 766 Views
  • Last Post 15 June 2015
  • Topic Is Solved
hakanaktan posted this 15 June 2015

//I can not get CheckMarkBlocks inside page even i have an empty page with a checkBox . //Here is my code stg like this:

var batchProcessor = ImageProcessingEngine.FREngine.CreateBatchProcessor(); ImageSourceCallback imageSource = new ImageSourceCallback(images.ToArray());

            batchProcessor.Start(imageSource, pim, ppp);
            while (true)
            {
                FRPage page = batchProcessor.GetNextProcessedPage();
                if (page == null || cancelationToken.IsCancellationRequested)
                {
                    pages.ForEach(pg => pg.AsyncOCRWaitHandle.Set());
                    break;
                }
                page.Synthesize();//builds logical output of page.

                page.AnalyzeAndRecognize();

foreach (ImagePage imgPage in pages) { if (string.Compare(imgPage.Filename, page.SourceImagePath, StringComparison.InvariantCultureIgnoreCase) == 0) { imgPage.OCRLayout = OCRLayoutBuilder.BuildLayout(page, page.Layout, imgPage.Width, imgPage.Height);

    //when i try to get Blocks here, i can not see any CheckMarkBlock, only TextBlocks

Oksana Serdyuk posted this 15 June 2015

ABBYY FineReader Engine does not support automatic checkmarks analysis, the checkmark blocks can be created only manually. Please review the Help file for your information: Guided Tour > Advanced Techniques > Recognizing Checkmarks.

Also please note that synthesis is the last stage of the image processing. Synthesis should be performed only after layout analysis and recognition. Different formatting elements, font parameters and document structure are detected during synthesis.

  • Liked by
  • hakanaktan
Close