Skip to content

Commit ab7ff0f

Browse files
Merge branch 'main' into preview
2 parents 1423a18 + 08316c5 commit ab7ff0f

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

gettingstarted/adddependency.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ This is usually only required with frameworks like Angular or React, etc. where
130130
Dynamsoft.Core.CoreModule.engineResourcePaths.dce = "https://cdn.jsdelivr.net/npm/[email protected]/dist/";
131131
```
132132

133+
<!-- Not recommended
133134
### Use your own hosted engine files
134135
135136
```typescript
@@ -143,4 +144,4 @@ This is usually only required with frameworks like Angular or React, etc. where
143144
Dynamsoft.Core.CoreModule.engineResourcePaths.dip = "./node_modules/dynamsoft-image-processing/dist/";
144145
Dynamsoft.Core.CoreModule.engineResourcePaths.dce = "./node_modules/dynamsoft-camera-enhancer/dist/";
145146
```
146-
147+
-->

gettingstarted/helloworld-v1.1.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -406,17 +406,12 @@ document.getElementById("restore").onclick = () => {
406406
</html>
407407
```
408408

409-
## Download the whole project
410409

411-
- Hello World - [Github](https://github.com/Dynamsoft/mobile-web-capture/tree/master/samples/hello-world/hello-world) \| [Run](https://dynamsoft.github.io/mobile-web-capture/samples/hello-world/hello-world/)
412-
- Angular App - [Github](https://github.com/Dynamsoft/mobile-web-capture/tree/master/samples/hello-world/hello-world-angular)
413-
- React App - [Github](https://github.com/Dynamsoft/mobile-web-capture/tree/master/samples/hello-world/hello-world-react)
414-
- Vue3 App - [Github](https://github.com/Dynamsoft/mobile-web-capture/tree/master/samples/hello-world/hello-world-vue3)
415410

416411
## More use cases
417412

418413
We provide some samples which demonstrate the popular use cases, for example, review and adjust the boundaries, edit the result images, export the result images in PDF format and so on.
419414

420415
Please refer to the [Use Case]({{ site.codegallery }}usecases/index.html) section.
421416

422-
## [Demo](https://demo.dynamsoft.com/mobile-web-capture/)
417+
## [Demo](https://demo.dynamsoft.com/mobile-web-capture/)

guides/mobile-web-capture.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description: Mobile Web Capture User Guide
1818

1919
> See it in action with the [Mobile Web Capture Demo](https://demo.dynamsoft.com/mobile-web-capture/).
2020
21-
This guide walks you through building a web application that scans multi-page documents using **MWC**, with **pre-defined configurations**.
21+
This guide walks you through building a web application that scans multi-page documents using MWC, with **pre-defined configurations**.
2222

2323
> If you are looking for a solution that scans single-page documents, please read [Dynamsoft Document Scanner User Guide](https://www.dynamsoft.com/mobile-web-capture/docs/guides/document-scanner.html) instead.
2424
@@ -42,19 +42,19 @@ Keep TOC only for npm /github as readme
4242

4343
### Get a Trial License
4444

45-
If you haven't got a trial license for **MWC**, you can request one through our [customer portal](https://www.dynamsoft.com/customer/license/trialLicense?product=mwc&source=guide). The trial license can be renewed twice, offering a total of two months of free access.
45+
If you haven't got a trial license for MWC, you can request one through our [customer portal](https://www.dynamsoft.com/customer/license/trialLicense?product=mwc&source=guide). The trial license can be renewed twice, offering a total of two months of free access.
4646

47-
> **DDS** and **MWC** share the same license keys. If you already have a **DDS** license, you can use it for **MWC**, and vice versa.
47+
> **DDS** and MWC share the same license keys. If you already have a **DDS** license, you can use it for MWC, and vice versa.
4848
4949
### Get a Full License
5050

5151
To purchase a full license, [contact us](https://www.dynamsoft.com/company/contact/).
5252

5353
## Quick Start
5454

55-
To use **MWC**, the first step is to obtain its library files. You can acquire them from one of the following sources:
55+
To use MWC, the first step is to obtain its library files. You can acquire them from one of the following sources:
5656

57-
1. [**GitHub**](https://github.com/Dynamsoft/mobile-web-capture) – Contains the source files for the **MWC** SDK, which can be compiled into library files.
57+
1. [**GitHub**](https://github.com/Dynamsoft/mobile-web-capture) – Contains the source files for the MWC SDK, which can be compiled into library files.
5858
2. [**npm**](https://www.npmjs.com/package/dynamsoft-mobile-web-capture) – Provides precompiled library files via npm for easier installation.
5959
3. [**CDN**](https://cdn.jsdelivr.net/npm/dynamsoft-mobile-web-capture) – Delivers precompiled library files through a CDN for quick and seamless integration.
6060

@@ -65,14 +65,14 @@ You can choose one of the following methods to set up a Hello World page:
6565

6666
### Option 1: Build from Source
6767

68-
This method retrieves all **MWC** source files from its [GitHub Repository](https://github.com/Dynamsoft/mobile-web-capture), compiles them into a distributable package, and then runs a *ready-made* Hello World sample page included in the repository.
68+
This method retrieves all MWC source files from its [GitHub Repository](https://github.com/Dynamsoft/mobile-web-capture), compiles them into a distributable package, and then runs a *ready-made* Hello World sample page included in the repository.
6969

7070
Follow these steps:
7171

7272
1. Download **MWC** from [GitHub](https://github.com/Dynamsoft/mobile-web-capture) as a compressed folder.
7373
2. Extract the contents of the archive.
7474
3. Enter the license key you received in [Get a Trial License](#get-a-trial-license).
75-
> In your code editor, open the Hello World sample located at [`/samples/hello-world.html`](https://github.com/Dynamsoft/mobile-web-capture/blob/main/samples/hello-world.html). Search for `"YOUR_LICENSE_KEY_HERE"` and replace it with your actual license key.
75+
> In your code editor, open the Hello World sample located at [`/samples/hello-world.html`](https://github.com/Dynamsoft/mobile-web-capture/blob/master/samples/hello-world.html). Search for `"YOUR_LICENSE_KEY_HERE"` and replace it with your actual license key.
7676
4. Install project dependencies
7777
In the terminal, navigate to the project root directory and run:
7878
```bash
@@ -89,19 +89,19 @@ Follow these steps:
8989
npm run serve
9090
```
9191
Once the server is running, open the application in a browser using the address provided in the terminal output after running `npm run serve`.
92-
> See the server configuration details in [`/dev-server/index.js`](https://github.com/Dynamsoft/mobile-web-capture/blob/main/dev-server/index.js).
92+
> See the server configuration details in [`/dev-server/index.js`](https://github.com/Dynamsoft/mobile-web-capture/blob/master/dev-server/index.js).
9393

9494
### Option 2: Use Precompiled Script
9595

96-
Since the **MWC** library files are published on [npm](https://www.npmjs.com/package/dynamsoft-mobile-web-capture), it's easy to reference them from a CDN.
96+
Since the MWC library files are published on [npm](https://www.npmjs.com/package/dynamsoft-mobile-web-capture), it's easy to reference them from a CDN.
9797
9898
To use the precompiled script, simply include the following URL in a `<script>` tag:
9999
```html
100100
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mwc.bundle.js"></script>
101101
```
102102
103103
Below is the complete Hello World sample page that uses this precompiled script from a CDN.
104-
> This code is identical to the [`/samples/hello-world.html`](https://github.com/Dynamsoft/mobile-web-capture/blob/main/samples/hello-world.html) file mentioned in the [Build from Source](#option-1-build-from-source) section, except for the script source.
104+
> This code is identical to the [`/samples/hello-world.html`](https://github.com/Dynamsoft/mobile-web-capture/blob/master/samples/hello-world.html) file mentioned in the [Build from Source](#option-1-build-from-source) section, except for the script source.
105105
>
106106
> **Don't forget** to replace `"YOUR_LICENSE_KEY_HERE"` with your actual license key.
107107

@@ -140,7 +140,7 @@ Alternatively, you can use other methods like `IIS` or `Apache` to serve the pro
140140
141141
Let’s walk through the code in the Hello World sample to understand how it works.
142142
143-
> Instead of using the code above, an alternative way to view the full code is by visiting the [Mobile Web Capture Hello World Sample](https://github.com/Dynamsoft/mobile-web-capture/blob/main/samples/hello-world.html).
143+
> Instead of using the code above, an alternative way to view the full code is by visiting the [Mobile Web Capture Hello World Sample](https://github.com/Dynamsoft/mobile-web-capture/blob/master/samples/hello-world.html).
144144
145145
### Reference MWC
146146
@@ -158,7 +158,7 @@ Let’s walk through the code in the Hello World sample to understand how it wor
158158
</head>
159159
```
160160
161-
In this step, **MWC** is referenced using a relative local path in the `<head>` section of the HTML.
161+
In this step, MWC is referenced using a relative local path in the `<head>` section of the HTML.
162162
163163
```html
164164
<script src="../dist/mwc.bundle.js"></script>
@@ -170,7 +170,7 @@ Alternatively, the script can be referenced from a CDN:
170170
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mwc.bundle.js"></script>
171171
```
172172
173-
**MWC** wraps all its dependency scripts, so a **MWC** project only needs to include **MWC** itself as a single script. No additional dependency scripts are required.
173+
MWC wraps all its dependency scripts, so a MWC project only needs to include MWC itself as a single script. No additional dependency scripts are required.
174174
175175
> ⚠**IMPORTANT**: Even if you reference the script locally, supporting resources like `.wasm` engine files are still loaded from the CDN at runtime. If you require a **fully offline setup**, follow the instructions in [Self-Hosting Resource File](https://www.dynamsoft.com/mobile-web-capture/docs/guides/mobile-web-capture-customization.html#self-hosting-resource-files).
176176
@@ -185,7 +185,7 @@ const mobileWebCapture = new Dynamsoft.MobileWebCapture({
185185
186186
API Reference: [`MobileWebCapture()`](https://www.dynamsoft.com/mobile-web-capture/docs/api/mobile-web-capture.html#mobilewebcapture)
187187
188-
This step creates the **MWC** UI, which, when launched, occupies the entire visible area of the browser window by default. If needed, you can specify a container to restrict the UI's size. For more details, refer to [Specify the UI Container](https://www.dynamsoft.com/mobile-web-capture/docs/guides/mobile-web-capture-customization.html#example-1-specify-the-ui-container).
188+
This step creates the MWC UI, which, when launched, occupies the entire visible area of the browser window by default. If needed, you can specify a container to restrict the UI's size. For more details, refer to [Specify the UI Container](https://www.dynamsoft.com/mobile-web-capture/docs/guides/mobile-web-capture-customization.html#specify-the-ui-container).
189189
190190
> A **license key** is required for the instantiation.
191191

0 commit comments

Comments
 (0)