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

How to select on part of scan image

Forums › TWAIN Classic › How to select on part of scan image

  • This topic has 8 replies, 6 voices, and was last updated 5 years, 4 months ago by peterlee.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • September 8, 2013 at 9:59 am #22886 Reply
    trevorjdaniel
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hello,

    I am new to TWAIN and I am writing a scanning app.

    I have the software working and can scan images and save them. Great!

    But, I am trying to scan UK lottery tickets on an A4 scanner and the image always has lots of whitespace around the ticket which I would like to try and remove.

    Is this a function that can be done via the TWAIN drivers or do I have to do it with image manipulation please?

    Any advice would be greatly appreciated.

    Thanks

    [attachment=0:9as3ijuw]Scan0001.tif[/attachment:9as3ijuw]

    September 9, 2013 at 6:22 am #25995 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    You may first check if your TWAIN driver supports automatic border detection by showing the user interface or using TWAIN sample application.

    If so, you can use ICAP_AUTOMATICBORDERDETECTION to turn on the feature.

    Catherine Sea
    http://www.dynamsoft.com

    September 9, 2013 at 3:13 pm #25996 Reply
    trevorjdaniel
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    @Catherine Sea wrote:

    If so, you can use ICAP_AUTOMATICBORDERDETECTION to turn on the feature.

    Catherine Sea
    http://www.dynamsoft.com

    Many thanks Catherine.

    Unfortunately my HP Photosmart 7520 doesn’t appear to support it.

    Trev

    September 12, 2013 at 8:02 am #25997 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    If your TWAIN driver doesn’t support the feature, you may also use a OCR SDK to achieve auto crop in your application.

    February 28, 2014 at 7:00 am #25998 Reply
    peterlee
    Participant
    • Topics - 0
    • Replies - 24
    • Total Posts - 24

    Have you ever found your way out?

    March 10, 2014 at 4:33 am #25999 Reply
    Foximage
    Participant
    • Topics - 0
    • Replies - 13
    • Total Posts - 13

    Yes, you may check out whether your Twain or OCR reader support for ROI, which means selecting and scanning a part of the source image or document page. And generally speaking, an ocr scanning tool can fast, accurately extract text from scanned documents, convert images to text-searchable formats such as PDF, PDF/A, DOC, DOCX, XML, and XPS. Besides, it can recognize text from over 40 languages and character sets including English, Spanish, French, German, Russian, Japanese, Chinese, Arabic* and more

    November 4, 2015 at 5:23 am #26002 Reply
    peterlee
    Participant
    • Topics - 0
    • Replies - 24
    • Total Posts - 24

    Hi, Foximage.
    I do agree with you. Thanks for your nice sharing. An OCR component does matter on converters, like pdf to text conversion work on a
    pdf coverter. Do you have any good recommendation about the related pdf conversion sdk? Any suggetsion will be appreciated. Thanks in advance.

    Best regards,
    Lee

    November 19, 2015 at 3:37 am #26000 Reply
    RomanceOsborn
    Participant
    • Topics - 0
    • Replies - 2
    • Total Posts - 2

    you can use ICAP_AUTOMATICBORDERDETECTION to turn on the feature.
    gclub

    November 20, 2015 at 6:52 am #26001 Reply
    mikelilin
    Participant
    • Topics - 0
    • Replies - 2
    • Total Posts - 2

    I do agree with you. Thanks for your nice sharing. An OCR component does matter on converters, like pdf to text conversion work on a pdf coverter. Do you have any good recommendation about the related pdf conversion sdk? Any suggetsion will be appreciated. Thanks in advance.

    as i know, PDFLib control can convert pdf to text, it’s an open source library, free to use.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: How to select on part of scan image
Your information:




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

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.