Questions tagged [image-scanner]

The python-imagescanner (old pyscanning) implements an abstraction layer which allows users to scan images/documents from Linux or Windows without the need of write any specific Python code for each one of them

Introduction

The python-imagescanner (old pyscanning) implements an abstraction layer which allows users to scan images/documents from Linux or Windows without the need of write any specific Python code for each one of them.

Note: The devices are accessed using the available installed drivers in the platform. Currently the support for Windows is implemented with Twain API and for Linux with SANE.

Supported Devices

All devices supported by SANE (Linux) and Twain (Windows). If you are able to use your device with another application in your platform but you still to access it with imagescanner, please, fill a bug report.

191 questions
7
votes
1 answer

C# WIA ADF Has next page

I have created a WIA Wrapper, which I beleive will be usefull for some people. It's still in development stages, but it all works besides the fact that the HasNextPage method does not work. I have taken the code from a lot of different sources. But…
Michael
  • 8,229
  • 20
  • 61
  • 113
7
votes
0 answers

Turn off specific USB port in windows with python

This is my first post, and I kind of have seen that the more specific the better, so I'll try to be super clear, and thanks in advance! What I want: I need to scan images from 2 or more scanners at the same time, these scanners are from the same…
7
votes
2 answers

how can I read machine-readable passport (MRP) using android camera

I want to read passports information using the android camera. please note that I'm not talking about the ePassports reading using NFC. what I'm thinking to do is reading the text using google text recognition and after that parse the info from the…
Omar Abdan
  • 1,901
  • 17
  • 29
7
votes
0 answers

Google drive API for Document Scanning

I want to include functionality to scan image documents into my application. Is it possible use the new Google Drive API to scan image documents?
Android Geek
  • 598
  • 1
  • 5
  • 20
7
votes
3 answers

Image acquisition hardware scanning from Java

How can I implement image acquisition from hardware scanner in Windows? I found JTwain library, but it's commercial. Is there any free frameworks? Any information about this?
3biga
  • 392
  • 1
  • 5
  • 17
6
votes
3 answers

Using PIL to detect a scan of a blank page

So I often run huge double-sided scan jobs on an unintelligent Canon multifunction, which leaves me with a huge folder of JPEGs. Am I insane to consider using PIL to analyze a folder of images to detect scans of blank pages and flag them for…
6
votes
0 answers

Wia 2.0 duplex scanning throw exception "System.outofmemoryException" C#

I'm using WIA on C#. When I set the properties "pages" to 1 and "docuemnt handling select" to 5 (to enable AFD and Duplex scaning), I get an exception at the method "wiaCommonDialog.ShowTransfer". The exception is "System.OutOfMemoryExcepion". Can…
6
votes
1 answer

How to detect a pattern (such as a QR code) on a scanned paper so that it can be correctly rotated/scaled/identified?

I have PDF files or JPG images that I need to print (these are formulars that will be filled in by hand), and I need that: after scan, the image should be rotated / scaled perfectly with Python, so that I can access to certain parts of the formular…
Basj
  • 41,386
  • 99
  • 383
  • 673
6
votes
3 answers

C# TWAIN interaction

I'm trying to set up a C# application which uses TWAIN example from code project This works fine except that I need to cast Form to IMessageFilter and call IMessageFilter.PreFilterMessage() to catch TWAIN callbacks. Also I need to start this…
Valentin V
  • 24,971
  • 33
  • 103
  • 152
6
votes
4 answers

How to scan in/to a Webapplication

I have contemplating how to handle paper document input in Webapps for some time. The main problem is how to unify metadata and a scanned PDF. For the sake of this example I will present a hypothetical Expense Claim Application. Approaches I have…
max
  • 29,122
  • 12
  • 52
  • 79
6
votes
5 answers

I want to connect my program to image scanner

I want to write program with python which can get input from scanner and save as jpg. I don't have any idea how to start. please help.
Aryan
  • 159
  • 1
  • 2
  • 6
6
votes
3 answers

How to verify if my scanner driver is TWAIN compatible?

We have a application which integrates a 3rd party scanning component - Dynam .NET TWAIN. It's working well with my HP scanjet 5700. Recently, we got Cannon LiDE210 but it doesn't work. I finally noticed that our application needs to work with TWAIN…
Logan
  • 118
  • 1
  • 2
  • 10
5
votes
2 answers

Cleaning scanned grayscale images with ImageMagick

I have a lots of scans of text pages (black text on white background). My usual approach is to clean those in Gimp using the Curves dialog using a pretty simple curve with only four points: 0,0 - 63,0 - 224,255, 255,255 This makes all the greyish…
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
5
votes
1 answer

How to Alter Photographed Document to Look "Scanned"

How can I do this in Python/PIL? I.e., given the four points of an offset rectangle (a photographed document), make it look flat on as if it were scanned. Is there a simple algorithm for it? Also, are there any other manipulations I should do to…
Greg
  • 45,306
  • 89
  • 231
  • 297
5
votes
2 answers

device for fingerprint scanner in android?

iam running a project that part of it requires to read a fingerprint. The platform we use is an Android phone (2.2). Is there a fingerprint reader availble for this platform? (micro USB, power supply issues, drivers etc.)
user538626
  • 911
  • 2
  • 11
  • 15
1
2
3
12 13