in

Data Techniques Forums

Help about Scanner Settings

Last post 02-19-2010 10:28 AM by brianb. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-17-2010 7:57 AM

    Help about Scanner Settings

    Hi All,

          Thanks for advance

                How to avoid the scanner's pop up window when scanning the images with

                1. the images should be scanned and inserted in to the application with out opening the scanner's popup window.

                2. How to auto detect the paper size while sanning the image for example,
                   if we are scanning the A4 size paper the application should set the page size as A4,
                   if we are scanning the Letter size the application should set the page size as Letter size.

                3.  should adjust the scanning area/region accordingly to avoid black patches while scanning.

    4.  when the blank page is scanned, the blank page has to be detected and skip those pages.

  • 02-17-2010 10:55 AM In reply to

    Re: Help about Scanner Settings

    rangasamy007:
    1. How to avoid the scanner's pop up window when scanning the images

    Twain.ShowIndicators = false;
    Twain.UserInterface = DTI.ImageMan.Twain.UserInterfaces.None;

     

    rangasamy007:
    2. How to auto detect the paper size while sanning the image

    Some scanners may offer this capability but not many implement it.  It's not a feature we offer in our code at this time.

     

    rangasamy007:
    3. should adjust the scanning area/region accordingly to avoid black patches while scanning

    Our new ImageMan.Net Document Edition includes a set of new document processing features including one that will return a rectangle representing the area of the image without borders. This method is called GetBorders().

     

    rangasamy007:
    4. when the blank page is scanned, the blank page has to be detected and skip those pages.

    Our new ImageMan.Net Document Edition includes a new feature that will allow you to skip blank pages when one is detected. Here's code to show you how to use blank page detection in your code:

    // Detect blank page using default settings
    ImImage img = ImImage.Load("c:\g3multipg.tif");
    bool IsBlank = Analyze.IsBlankPage( img );

    // Less sensitive to allow for some noise in image
    IsBlank = Analyze.IsBlank( img, BlankPageSensitivity.Lowest);

     

    Brian
    Technical Support
    Data Techniques
    Support Options
  • 02-19-2010 1:29 AM In reply to

    Re: Help about Scanner Settings

    Hi Brian,

    thank you for your response.

    4. when the blank page is scanned, the blank page has to be detected and skip those pages.

    Our new ImageMan.Net Document Edition includes a new feature that will allow you to skip blank pages when one is detected. Here's code to show you how to use blank page detection in your code:

    // Detect blank page using default settings
    ImImage img = ImImage.Load("c:\g3multipg.tif");
    bool IsBlank = Analyze.IsBlankPage( img );

    // Less sensitive to allow for some noise in image
    IsBlank = Analyze.IsBlank( img, BlankPageSensitivity.Lowest);


    i am using ImageMan trial version. if i scan without document, it is displaying the blank image with ImageMan.Net watermark.

    bool IsBlank = Analyze.IsBlankPage( img );

    the values of 'IsBlank' is always false.

    i dont know 'IsBlank' is false. how to make a the 'IsBlank' value is true.

    is it because of watermark?
     

    i downloaded the latest ImageMan trial version (V2.05)

    // Less sensitive to allow for some noise in image
    IsBlank = Analyze.IsBlank( img, BlankPageSensitivity.Lowest);

    but i dint get the Analyze.IsBlank() method.

    how to get this?

  • 02-19-2010 10:28 AM In reply to

    Re: Help about Scanner Settings

    Please add this to the top of your class:

    using DTI.ImageMan;

    The Analyze class is in the DTI.ImageMan namespace.

    Brian
    Technical Support
    Data Techniques
    Support Options
    Filed under:
Page 1 of 1 (4 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.