diff --git a/guides/document-scanner.md b/guides/document-scanner.md index 0286ee8..3e8f7ad 100644 --- a/guides/document-scanner.md +++ b/guides/document-scanner.md @@ -13,12 +13,12 @@ description: Dynamsoft Document Scanner User Guide > [!TIP] > Prerequisite: Read the [Introduction]({{ site.introduction }}index.html) before proceeding. -**Dynamsoft Document Scanner (DDS)** is an SDK designed for scanning single-page documents. It not only captures images of the documents but also enhances their quality to professional standards, making it an ideal tool for mobile document scanning. +**Dynamsoft Document Scanner (DDS)** is an SDK designed for scanning single-page documents. DDS captures images of the documents and also enhances their quality to professional standards, making it an ideal tool for mobile document scanning. > [!NOTE] > See it in action with the [Dynamsoft Document Scanner Demo](https://demo.dynamsoft.com/document-scanner/). -This guide walks you through building a web application that scans single-page documents using **DDS**, with pre-defined configurations. +This guide walks you through building a web application that scans single-page documents using **DDS** with pre-defined configurations. ## License ### Get a Trial License -If you haven't got a trial license for **DDS**, you can request one here: +If you do not have a trial license for **DDS**, you can request one here: {% include trialLicense.html %} - The trial license can be renewed twice, offering a total of two months of free access. + The trial license can be renewed twice for a total of two months of free access. > [!IMPORTANT] > **DDS** and **MWC** share the same license keys. If you already have a **DDS** license, you can use it for **MWC**, and vice versa. @@ -67,10 +67,16 @@ The first step in using **DDS** is to obtain its library files. You can acquire You can choose one of the following methods to set up a Hello World page: -1. **Build from Source** – Download the source files from GitHub and compile the resource script yourself. -2. **Using Precompiled Script** – Use the precompiled resource scripts from npm or the CDN for a quicker setup. +1. **Build from source** – Download the source files from GitHub and compile the library files yourself. +2. **Use precompiled scripts** – Use the precompiled resource scripts from npm or the CDN for a quicker setup. +3. **Self-host resources** - Self-host both DDS and its dependencies on your web server. -### Option 1: Build from Source +
+ +
+
Build from Source
+ +### Build from Source This method retrieves all **DDS** source files from its [GitHub Repository](https://github.com/Dynamsoft/document-scanner-javascript), compiles them into a distributable package, and then runs a *ready-made* Hello World sample page included in the repository: @@ -99,9 +105,14 @@ Once the server is running, open the application in a browser using the address > [!TIP] > See the server configuration details in [`/dev-server/index.js`](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/dev-server/index.js). -### Option 2: Use Precompiled Script +
+ +
+
Use Precompiled Script
-Since the **DDS** library files are published on [npm](https://www.npmjs.com/package/dynamsoft-document-scanner), it's easy to reference them from a CDN. +### Use Precompiled Script + +We publish **DDS** library files on [npm](https://www.npmjs.com/package/dynamsoft-document-scanner) to make them simple to reference from a CDN. To use the precompiled script, simply include the following URL in a `