TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Re: Re: Flatbed A4 device with deskew & crop capabilities

Forums › TWAIN Classic › Flatbed A4 device with deskew & crop capabilities › Re: Re: Flatbed A4 device with deskew & crop capabilities

January 19, 2010 at 3:17 pm #25090
Thierry
Participant
  • Topics - 6
  • Replies - 54
  • Total Posts - 60

@jandriver wrote:

Hi everybody.

We are looking for a flatbed A4 scanner with those capabilities, but at the moment we haven’t found anyone.

Is that usual? do you know anyone?

If not, how do you programme those functionalities in your applications? do you use any image treatment libraries? Our target application is developed in Java.

Thanks in advance.

My Agfa scanner (e42 with a black background) has this function in the TWAIN driver, not sure it is exposed as a capability. Usually flatbeds scanners have limited capability concerning deskew and auto-crop, because it is based on the image itself, any application can do that. In the feeder you can have additional sensors to help you, and it is more efficient and useful.

This functionality is based on extraction of the border of the image assuming that the foreground is black, and the border of the image is white. Extracting all the borders points (transition from black to white) gives you 4 lines approximated (to have a minimal distance between the approximated line and the points). Then you have to choose two skews (top or bottom and left or right, or a mean value …) and rotate the image, then crop.

You should find many papers to implement this function whit a lot a of different approaches.

Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in