Answer the question
In order to leave comments, you need to log in
Is it possible to interact with the user's scanner from a Django web application?
There is a Django application in which the processing of documents is as follows:
A user scans a document using a scanner connected to his/her computer.
The scanned image is saved locally on the user's computer as a file.
The user clicks the "Browse..." file upload button in the web application.
The user is presented with a file dialog which he/she uses to search for the scanned image.
The user clicks "Upload Image" and the scanned image is uploaded to the server where it is stored.
This process is quite complex and I would like to reduce the number of steps to make it more user friendly and reliable. Under ideal circumstances, the above steps should be replaced with only one step, where the procedure initiates the scanning of the document, the full scan of the document and the download of the resulting image is automatically launched from the web application when the "Scan and Download" button is clicked.
Are there ways to reduce the number of steps in the described use case?
Answer the question
In order to leave comments, you need to log in
Since the browser runs with severe restrictions on the system, it does not have access.
The only way out is to write an application.
I will write about C#
1. add WIA form to it https://docs.microsoft.com/ru-ru/windows/win32/wia...
2. scan protocol handler
< a href="scan:http://youserver/api/uploaddocument">Быстро сканировать</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question