Home › Forums › TWAIN Direct › Using TWAIN Direct for browser based scanning
- This topic is empty.
- AuthorPosts
- Gaurav
Hello,
I am building a browser based application to perform document scanning. I have looked at TWAIN Direct user guide and understood that TWAIN Direct should be the route to implement such applications. Need some more clarity on following.
1. Application will invoke RESTful APIs to leverage scanner functions. Who is responsible for implementing RESTful APIs on server side? Is it TWAIN- local that does this or do scanner vendors implement this?
2. Is TWAIN-local a component that one could directly use?
3. Is TWAIN Direct ready for production deployments?Request inputs on these to help me understand further.
Tenya DimonWe have been using a library called Scanner.js on some of our intranet apps with great success.
FYI, It’s browser based with TWAIN classic, and it’s a JavaScript API instead of RESTful.
khkhio
Kevin NealHello Gaurav,
Since you’ve asked good questions, I would like to answer them with an updated status of the TWAIN Direct project.
1. “Application will invoke RESTful APIs to leverage scanner functions. Who is responsible for implementing RESTful APIs on server side? Is it TWAIN- local that does this or do scanner vendors implement this?”
a. There are 2 ways in which the RESTful API’s are implemented.
i. The first option is scanner companies that put TWAIN Direct inside hardware such as the Xerox D70n, N60w or W130 with Network. This option implements the RESTful API inside of their scanner so your application can communicate DIRECTLY to the scanner.
ii. The second option is to use TWAIN Direct Cloud. With TWAIN Direct Cloud it is possible to ‘register’ many scanners to this one server where this server implements the RESTful API. Of course, the advantage of this approach is that you can support many devices with your one application.
2. “Is TWAIN-local a component that one could directly use?”
a. TWAIN Direct Local refers to using TWAIN Direct on a LAN. As I mentioned in the first answer, your application can communicate directly to scanners with TWAIN Direct in firmware or you can use the TWAIN Direct Bridge utility which allows for making existing USB scanners into TWAIN Direct compatible scanners. Basically TWAIN Direct Bridge software translates TWAIN Classic commands into TWAIN Direct RESTful API.
3. “Is TWAIN Direct ready for production deployments?”
a. Yes, TWAIN Direct is ready for product deployments and there are many ISV’s currently creating applications. I would encourage looking into our TWAIN Direct Developers Day events and also consider joining the group as an Associate Member.
Thanks,
Kevin - AuthorPosts