Reading data with separators in between

  • Last Post 6 days ago
alroy monis posted this 2 weeks ago

I am having difficulty in fixing this issue of reading fee as the separators lines are also being read as number 1 or alphabets like j or even characters like ! . is there any solution to this 

Attached Files

Order By: Standard | Newest | Votes
Denis Gusak posted this 2 weeks ago

Hi Alroy!

I can suggest using the methods of the ImageProcessingTools object to distort the image so that FCE no longer recognizes delimiters as characters. For example, I was able to get rid of separators on your image with the following code:

IImageProcessingTools ipt = engineLoader.Engine.CreateImageProcessingTools();
IImageFile imageFile = ipt.OpenImageFile(@"D:\362e1867-757a-4d5f-9a6f-a9c9014d331e_fee.jpg");
IImage image = imageFile.OpenImagePage(0);
image = ipt.EqualizeBrightness(image);
image = ipt.Binarize(image, BinarizationModeEnum.BM_Default, false, false, 0);
image = ipt.RemoveGarbage(image, 2);

 Hope it helps.

alroy monis posted this 2 weeks ago

thank you Denis i will look into this solution 

alroy monis posted this 1 weeks ago

Hey Denis,

i am a noob where do I use this code in flexicapture







Denis Gusak posted this 6 days ago

Hi Alroy,

You can try it in Hello C# sample. Just put this code after processor.AddDocumentDefinitionFile(...) call and replace processor.AddImageFile(...) with processor.AddImage(image)