Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, June 28, 2019 3:43:35 PM(UTC)
Marcus Andra

Groups: Registered, Manager, Tech Support, Administrators
Posts: 107

Was thanked: 9 time(s) in 9 post(s)

Provided below are two pictures that provide different output results

LEADTOOLS supports character recognition for many scenarios; however, you may find that the quality of recognition for images taken from your mobile devices are not as clear as you would hope.

We recommend image quality to be between 200 - 300 DPI when working with our SDK; however, this is not something you are able to control when using a mobile camera as your capture device. Once you have ensured that the images you are taking maintain at least 720 pixels, you can use one of our useful LEAD Engine settings to do the rest of the work for you.

Without
2.png
File Attachment(s):
NoPreprocess.pdf (4kb) downloaded 36 time(s).


With
1.png
File Attachment(s):
Preprocess.pdf (4kb) downloaded 41 time(s).


You will be using IOcrSettingManager to access the SetBooleanValue method in order to set "Recognition.Preprocess.MobileImagePreprocess" to true. By design most cameras take pictures in a low resolution, so it's important that you use this engine setting whenever you're expecting an input image from a mobile device. By default this value is set to false in order to conserve on memory; however, you'll want to use this option if you are using the OCR engine to process images from a mobile camera. You can see one way of doing this in the code below which is added immediately after starting the OCR Engine.

Code:
ocrEngine.Startup(null, null, null, LEAD_VARS.OcrLEADRuntimeDir);

IOcrSettingManager settingManager = ocrEngine.SettingManager;
settingManager.SetBooleanValue("Recognition.Preprocess.MobileImagePreprocess", true);



The original image can be seen attached below. For any additional questions not covered by this post, please email us at support@leadtools.com.
File Attachment(s):
original image.jpg (2,371kb) downloaded 51 time(s).

Edited by user Tuesday, July 2, 2019 4:04:10 PM(UTC)  | Reason: Not specified

Marcus Andra
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.094 seconds.