Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing scanner at client side from a web page without applet

I want to acces a scanner at client side, before I was using java applet without problem but after chrome has decided to not support java what can I do. If there's solution with JS, Jquery or other language please tell me

like image 763
taha yahia Avatar asked Jan 19 '16 16:01

taha yahia


People also ask

How to embed a document scanning module in your ASP NET application?

As you know, ASP.NET is a server-side programming language and it cannot access client-side devices. To embed a document scanning module into your ASP.NET web application, you can use an ActiveX/Plugin to interact with the scanners. This article will show how to use the Dynamic Web TWAIN SDK to achieve that.

Is it possible to scan a website using a browser?

The technology for scanners in browsers isn't quite there yet. Read up some of the other posts on Stack Overflow regarding the same web scanning issues here. There's been almost a year's worth of discussion on exactly this topic. HTML was not capable of it in general before (for security issues, not access to the OS), but this is changing.

What devices can be accessed from the browser?

Being able to access devices from the browser is making slow but steady progress. Right now, many modern browsers have access to some of the more common devices like the camera or gamepads, but they are all high level APIs.

Is there any way to scan a document in Java?

If you want to use Java, read the tutorial Document Web Scanning in HTML5 and Java. Dynamic .NET TWAIN is a commercial software. You can replace it with any TWAIN scanning solution you like. You have to made a desktop apllication that will work in background. Desktop application will remain connected with browser while it is open.


3 Answers

Atalasoft has a web scanning toolkit that should meet your needs: Atalasoft WingScan product page

The product does not use browser-specific plugins and therefore works nicely in all modern browsers (IE8+, Chrome, Firefox).

Architecturally, there is a small local component that should be installed, which exposes RESTful web service. Web page uses standard JavaScript/jQuery to communicate with the service and scan/import/enhance images.

Here is the online demo, so you could try it out right away: Wing Scan Demo page

The scanning component is based on the EZTwain library, and it includes a number of image processing algorithms that improve quality of scanned images (deskew, autorotate, blank page detection, etc.)

You can optionally license and use embedded VRS technology, which I have to say is impressively good at cleaning up scans.

like image 175
Dmitry Kolomiets Avatar answered Oct 17 '22 18:10

Dmitry Kolomiets


For client-side you'll want to use Dynamic Web TWAIN. Unfortunately there are no other solutions, but this one is well maintained and documented. The technology for scanners in browsers isn't quite there yet. Read up some of the other posts on Stack Overflow regarding the same web scanning issues here. There's been almost a year's worth of discussion on exactly this topic.

like image 23
MaKR Avatar answered Oct 17 '22 17:10

MaKR


HTML was not capable of it in general before (for security issues, not access to the OS), but this is changing.

HTML 5 has now meany features.

See that post with very detailed informations: Can HTML5 communicate with peripherals like scanners and credit card readers?

In particular, you should focus on camera/video capabilities, which can work for scanners too: http://www.w3.org/TR/2012/WD-mediacapture-streams-20120628/

like image 2
guillaume girod-vitouchkina Avatar answered Oct 17 '22 18:10

guillaume girod-vitouchkina