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
5
votes
1 answer

How can I improve perfomace of Hilbert scan of image?

This method of image scanning based on Hilbert Curve. Curve looks like (from 1 to 6 order): It can be used for image scan. So, for example, my code for 3-order curve is: Hilbert=[C(1,1) C(1,2) C(2,2) C(2,1) C(3,1) C(4,1) C(4,2) C(3,2) C(3,3) C(4,3)…
5
votes
4 answers

Can one listen a twain (Maybe WIA) scanner?

I am evaluating VintaSoft .net control and Atalasoft DotTwain Image Capture. And I am very but very lost with the most of the definitions and keywords. So I am asking this because I think I am in Lala land. Is it possible to listen or have the…
ThorDivDev
  • 721
  • 2
  • 12
  • 22
5
votes
10 answers

How to compensate for uneven illumination in a photograph of a printed page?

I am trying to teach my camera to be a scanner: I take pictures of printed text and then convert them to bitmaps (and then to djvu and OCR'ed). I need to compute a threshold for which pixels should be white and which black, but I'm stymied by…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
4
votes
1 answer

Flutter - How to take real time input feed from camera and scan any object?

I'm building an application to scan a document by taking real-time camera feed and detect document in that feed. I'm very beginner in the flutter, I have already done it in the python using OpenCV with the following steps A. Get Image B. Convert…
Ajay Kumar
  • 115
  • 5
  • 10
4
votes
1 answer

how to scan document to android via network

i got some issue about scan document to android via network. the main goal is any/most scanner can scan document to android via network, like this one https://play.google.com/store/apps/details?id=org.mopria.scan.application . the test scanner is…
4
votes
1 answer

How to integrate document scanning into a Qt application?

What are some resources about learning how to integrate document scanning into a Qt application? I'm somewhat familiar with TWAIN drivers to interface with a scanner, but is this technology cross-platform or specific only to Windows?
Tony the Pony
  • 40,327
  • 71
  • 187
  • 281
4
votes
2 answers

What is importlib.util in python3?

I am trying to pip install importlib with python 3.6, but I get an Import Error saying: 'NO Module named "importlib.util"'. This also comes up when I try to pip install imagescanner, which is my real intention. Building an App that connects to Image…
hccavs19
  • 165
  • 3
  • 9
4
votes
1 answer

What is the state of TWAIN on the Macintosh today?

I'm currently working on a project where we want to interface with TWAIN scanners on both the PC (Windows) and the Macintosh. On Windows, we basically have everything squared away and the code works successfully with the vast majority of…
Tom Kidd
  • 12,830
  • 19
  • 89
  • 128
4
votes
1 answer

Windows Image Acquisition: How to hide scanner setup window

I use WIA library to scan images in my app. Can I set scanner settings (colorfull, grayscell, dpi....) programmaticaly in my app and not show every time scanning settings to end user? I use next code to get an image from scanner public…
Polaris
  • 3,643
  • 10
  • 50
  • 61
4
votes
3 answers

Is there a way to use flashlight on in Android NOT using the Camera methods?

Please read the question before marking this as a duplicate. I'm trying to access the LED/Flashlight WITHOUT using the Camera methods shown in other code on this site. Thank you. I'm trying to use the flashlight/torch in Android. I have found…
4
votes
2 answers

Get input from a scanner connected to USB port or Serial Port in .net

I am working on an application, where my app need to get input from the scanner in an image format. This is a wpf application, a scanner is connected to the system, user put the document in scanner and print the button in the application to scan the…
Manvinder
  • 4,495
  • 16
  • 53
  • 100
4
votes
3 answers

Document Scanning from ASP.net Web Application

I have a ASP.Net C# 4.0 Web Application I need to Add a scanning feature for my users. This is what I want to achieve On my web application user clicks on a button opens a window with preview of document in Scanning device attached to the client…
HaBo
  • 13,999
  • 36
  • 114
  • 206
3
votes
3 answers

Are there any different between Scan image through camera and capturing image from camera?

I need to know that different between scanning and taking photo from camera . As example we normally , SCAN QR code , bar code , like thing using android phone.They are also image. we can take photo from camera. it also image. So ,is it Scanning QR…
uma
  • 1,477
  • 3
  • 32
  • 63
3
votes
3 answers

Capture Images from Camera connected to Computer and listed in Imaging Devices

I have a Canon EOS 1000D. When I connect it to computer it listed under Control Panel > Imaging Devices. I want to take picture programmically. I guess all devices which are listed in Imaging Devices, has a same interface (Maybe TWAIN) and have a…
bman
  • 5,016
  • 4
  • 36
  • 69
3
votes
1 answer

Present native iOS document scanner?

iOS 11 has a built in document scanner that you can launch from Notes. I’d like to scan documents for my app, is there a way to present the native document scanner and receive its images?
TruMan1
  • 33,665
  • 59
  • 184
  • 335
1 2
3
12 13