image-scanner

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

坚强是说给别人听的谎言 提交于 2019-12-06 02:01:42
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 code , mean take image and processing it or are there have any special thing take image from pixel values ? Biggest difference is that when you capture an image you get a processed jpg file, when you're scanning you're working with raw YUV byte array. When talking about a picture you usually need to worry about quality, flash, aperture, shutter

Can one listen a twain (Maybe WIA) scanner?

一个人想着一个人 提交于 2019-12-05 10:11:02
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 scanner tell my app that there is a scanned image and I can process it? The idea is to have a winservice that is waiting for the scanner to scan something and when that happens process the image. I have only worked with the native interfaces to TWAIN and WIA, so I can't vouch for these other layers on top of them. However, with regards to TWAIN, some

Cleaning scanned grayscale images with ImageMagick

左心房为你撑大大i 提交于 2019-12-05 02:46:19
问题 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 text pitch black plus makes the text sharper and turns most of the whitish pixels pure white. How can I achieve the same effect in a script using ImageMagick or some other Linux tool that runs completely from the command line? -normalize or -contrast

Twain device (scanner) control in Java

拥有回忆 提交于 2019-12-04 23:44:27
I want to scan a number of papers through Java. I found the mm's computing twain library . When I run the example TwainExample.java at the site, I receive this error. uk.co.mmscomputing.device.twain.TwainIOException: Cannot load Twain Source Manager. On the other hand, almost the same code works with ImageJ as a plugin . Yet, when I used this code by itself I still receive the same exception. I wonder why this is not working. You can try download TWAINDSM.DLL for 64bit and put it in C:/windows/system32, or 32 if you have it. Find it on SourceForge Regards In the past I've used Morena library

How to Alter Photographed Document to Look “Scanned”

久未见 提交于 2019-12-04 22:44:46
问题 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 make it look more "scan-like"? I want to make a simple version of this program for myself in Python. 回答1: Look at transform() with method set to QUAD http://effbot.org/imagingbook/image.htm im.transform(size, QUAD, data) => image im.transform(size,

What is the state of TWAIN on the Macintosh today?

人走茶凉 提交于 2019-12-04 09:49:32
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 scanners. On Mac OS X, we also basically have everything working and with the main scanner we used to develop the application with works perfectly, but we're not having a ton of luck with other scanners. As a byproduct of development on this project, we have a fair number of scanners from various manufacturers on-hand to test with. The results vary wildly: The

Using PIL to detect a scan of a blank page

不打扰是莪最后的温柔 提交于 2019-12-04 07:21:07
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 deletion? Leaving the folder-crawling and flagging parts out, I imagine this would look something like: Check if the image is greyscale, as this is presumed uncertain. If so, detect the dominant range of shades (background colour). If not, detect the dominant range of shades, restricting to light greys. Determine what percentage of the entire image is

How to use biometric fingerprint reader to develop a fingerprint database

ぃ、小莉子 提交于 2019-12-03 21:06:37
I have purchased a simple biometric fingerprint reader that is usually used for laptop security through a USB connection. It is just called biomentric finger print reader, not branded! It came with the software for creating security for laptop, and it works great. However, I had a different idea for it: I am intending to create a database of users fingerprints so that I can identify which user swiped their fingers on it, ie, to use it for different users' authentication using fingerprints . I don't seem to be making any head or tail on how to go about that. I would like to find out if there is

Cleaning scanned grayscale images with ImageMagick

痞子三分冷 提交于 2019-12-03 17:18:49
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 text pitch black plus makes the text sharper and turns most of the whitish pixels pure white. How can I achieve the same effect in a script using ImageMagick or some other Linux tool that runs completely from the command line? -normalize or -contrast-stretch don't work because they operate with pixel counts. I need an operator which can make the

Are there Virtual Twain Scanners? Sort like Daemon Tools virtual CD [closed]

我们两清 提交于 2019-12-03 14:56:55
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I am testing a scanning application and currently I dont have any scanner to plug it in. Is there anyway to have a virtual scanner like Daemon Tools does with Virtual CD Drives? 回答1: There's a Sourceforge project with a sample TWAIN implementation, including a virtual scanner. I haven't found anything similar