Skip to content

tony-xlh/JavaFX-Document-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic Web TWAIN is an SDK which enables document scanning from browsers. Under its hood, a backend service named Dynamsoft Service is running to communicate with scanners via protocols like TWAIN, WIA, eSCL, SANE and ICA. The service runs on Windows, macOS and Linux.

Starting from Dynamic Web TWAIN v18.4, Dynamsoft Service will be accessible via REST APIs so that we can use different programming languages to create document scanning applications.

This repo demonstrates how to access document scanners using the REST APIs in Java. A desktop app is built using JavaFX.

screenshot

Some advantages of using the REST APIs of Dynamsoft Service for document scanning in Java:

  • It is cross-platform supporting multiple scanning protocols.
  • If we directly call TWAIN API, we have to use JRE 32-bit as most drivers are 32-bit.

Prerequisites

  • You need to install Dynamsoft Service on your device. You can find the download links here.
  • A license for Dynamic Web TWAIN is needed. You can apply for a license here.

The Java Library

A Java library is made to wrap the REST API. You can include it in your project via JitPack: https://jitpack.io/#tony-xlh/docscan4j

About

A desktop document scanning app in JavaFX supporting TWAIN, SANE, WIA, eSCL and ICA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages