image-scanner

Set page size using WIA (with scanner)

五迷三道 提交于 2019-12-12 07:36:47
问题 I'm using WIA to acquire images from a scanner with C#. I can scan the papers, but I can't set up the page size correctly, it always defaults to A4 and I need to use Letter or Legal sometimes. I tried with the WIA_DPS_PAGE_SIZE property, but when I try to set a value, I always get an error, that the value is out of the interval (tried a lot of possible values). I wan't to be able to use WIA_DPS_PAGE_SIZE = WIA_PAGE_AUTO (for automatic page size), but I can't find anything on the web related

Want larger camera preview using ZBar scanner Library in Android

六月ゝ 毕业季﹏ 提交于 2019-12-11 12:59:46
问题 I am using ZBarScannerActivity in my android app. but I am getting a small surface view on device. Actually I want full Screen camera preview to scan the QR code. Any help would be appreciated. Thank you. here is the code of ZbarScanner Activity package com.dm.zbar.android.scanner; public class ZBarScannerActivity extends Activity implements Camera.PreviewCallback, ZBarConstants { private static final String TAG = "ZBarScannerActivity"; private CameraPreview mPreview; private Camera mCamera;

Is there a non-activex approach to scanning documents into a web app?

冷暖自知 提交于 2019-12-11 11:06:40
问题 I am working on a web application that is a pretty simple and straightforward application except for on thing: it needs to be able to get documents from the scanner. I don't want to force the user to scan documents manually, save them, and then browse to them to upload the file, and I would like to avoid Active-X if possible (though feel free to make recommendations that include active-x). Is there a good way to do this through a web app? Can silverlight access scanners? 回答1: You can do this

Document Scanning from ASP.net Web Application

跟風遠走 提交于 2019-12-10 16:23:59
问题 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 system User confirms the Scan this will save the Scanned document in jpg/pdf format on the server then do the OCR on document Can any one suggest a way to achieve this. I read about this https://www.leadtools.com/sdk/engine/imaging not sure how much

Twain device (scanner) control in Java

巧了我就是萌 提交于 2019-12-10 00:40:06
问题 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. 回答1: You can try download TWAINDSM.DLL for 64bit and put it in C:

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

帅比萌擦擦* 提交于 2019-12-07 14:07:25
问题 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 ? 回答1: 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

Can one listen a twain (Maybe WIA) scanner?

我的梦境 提交于 2019-12-07 05:04:43
问题 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. 回答1: I have only worked with the native interfaces to

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

爷,独闯天下 提交于 2019-12-06 08:19:20
问题 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 standard way to send command to them. Does TWAIN can do that? Any keyword or information about this is appreciated. 回答1: I have had good experiences with the Delphi components from Alkenius TCamRemote 回答2: You need the Canon EDSDK. EDSDK stands for

What is the state of TWAIN on the Macintosh today?

我们两清 提交于 2019-12-06 05:10:55
问题 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

Using PIL to detect a scan of a blank page

给你一囗甜甜゛ 提交于 2019-12-06 02:58:39
问题 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