document-scanner-javascript/samples at main · Dynamsoft/document-scanner-javascript · GitHub
Skip to content

Latest commit

 

History

History

README.md

Mobile Document Scanner Samples

Here we present sample projects built with the Mobile Document Scanner, each a single HTML file to demonstrate a particular use case or feature of MDS.

These single-file samples are served by the repository's root vite dev server, which self-hosts the Dynamsoft Capture Vision engine and runtime data from /public. From the repository root, run:

npm install
npm run dev

Then open the URL printed in the console and pick a sample.

Plain JavaScript Samples

  1. Hello World - a minimal example to get started with scanning single page documents in under 2 minutes.
  2. Official Demo - source code for the polished and integrated demo application on our website.
  3. Scanning to PDF - scan multi-page documents with MDS, and integrate with Dynamsoft Document Viewer (DDV) for viewing, editing, and PDF file output.
  4. Multi-Page Scanning - scan multi-page documents with MDS and output as separate images on each successful scan for further fine-grain processing downstream.
  5. Image File Scanning - scan documents from file input instead of a camera feed for processing existing images.

JavaScript Framework Samples

All three framework samples provide the same features as the plain JavaScript Hello World sample, each with its own vite (or Angular CLI) tooling. See frameworks/README.md for instructions.

  1. Angular
  2. React Hooks
  3. Vue