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 : Wednesday, May 30, 2018 4:42:52 AM(UTC)
kphuanghk

Groups: Registered
Posts: 4

Thanks: 2 times

We encounter a business use case that users will scan some receipts less than A4 size, however, due to operation limitation, the scanned image will be in A4 size, there is no auto paper size or auto-cropped.

The user may put the receipt in different region of the flatbed scanner, so the receipt image may be offset with varied distance from top-left corner of A4.

We are looking into some directions that can detect the receipt in A4 image and transform the receipt in the top-left corner for ensuing operations.

Any idea or suggestion is much appreciated, thanks in advance.

 

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.

#2 Posted : Thursday, May 31, 2018 9:47:46 AM(UTC)

Joe Z  
Joe Z

Groups: Registered, Tech Support, Administrators
Posts: 63

Thanks: 2 times
Was thanked: 4 time(s) in 4 post(s)

Our Image Processing library contains the AutoCropCommand class which allows you to automatically trim excess blank space from images. I believe you could utilize this class to isolate your receipt data from a large A4 sized image. This class also contains the Threshold property that allows you to customize the intensity of this detection rate. If you navigate to the link below, you'll find a link to our documentations page which also contains example code.

AutoCropCommand Class:
https://www.leadtools.com/help/leadtools/v20/dh/po/autocropcommand.html

Additionally, you can test this command out within our Main demo. If you have our SDK installed, the demo should be at a path similar to the one below. Once this demo is open, navigate to the "Image" menu bar and select the "Auto Trim" menu bar item.

C:\LEADTOOLS 20\Examples\DotNet\CS\MainDemo

Joe Zhan
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Sunday, June 3, 2018 10:11:19 PM(UTC)
kphuanghk

Groups: Registered
Posts: 4

Thanks: 2 times

@Joe Z Should be helpful in our case, we will test the real outcome. Thanks for the advice.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.217 seconds.