You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: links and redirect rules (#110)
* fix: MDS redirects
* fix: use relative redirect links
* Staging (#111)
* fix: use different link due to section loading order
* fix: add more descriptions and links for self hosting
|`license`|`string`| The license key for using the `DocumentScanner`. |
125
+
|`container`| ``HTMLElement | string`` | The container element or selector for the `DocumentScanner` UI. |
126
+
|`scannerViewConfig`|[`DocumentScannerViewConfig`](#documentscannerconfig)| Configuration settings for the scanner view. |
127
+
|`resultViewConfig`|[`DocumentResultViewConfig`](#documentresultviewconfig)| Configuration settings for the result view. |
128
+
|`correctionViewConfig`|[`DocumentCorrectionViewConfig`](#documentcorrectionviewconfig)| Configuration settings for the correction view. |
129
+
|`templateFilePath`|`string`| The file path to the document template used for scanning. You may set custom paths to self-host the template, or host MDS fully offline - see [self-hosting resources]({{ site.guide }}index.html#self-host-resources) for details.|
130
+
|`utilizedTemplateNames`|[`UtilizedTemplateNames`](#utilizedtemplatenames)| Specifies detection and correction templates. You may set custom names to self-host resources, or host MDS fully offline - see [self-hosting resources]({{ site.guide }}index.html#self-host-resources) for details.|
131
+
|`engineResourcePaths`|[`EngineResourcePaths`](#engineresourcepaths)| Paths to the necessary resources for the scanning engine. You may set custom paths to self-host resources, or host MDS fully offline - see [self-hosting resources]({{ site.guide }}index.html#self-host-resources) for details.|
|`templateFilePath`|`string`| Path to a Capture Vision template for scanning configuration. |
176
+
|`cameraEnhancerUIPath`|`string`| Path to the UI (`.html` template file) for the scanner view. You may set custom paths to self-host or customize the template, or host MDS fully offline - see [self-hosting resources]({{ site.guide }}index.html#self-host-resources) for details.|
177
+
|`container`|`HTMLElement`| The container element for the scanner view. |
178
+
|`utilizedTemplateNames`|`[`UtilizedTemplateNames`](#utilizedtemplatenames)`| Capture Vision template names for detection and correction. |
179
+
|`enableAutoCropMode`|`boolean`| The default auto-crop mode state. |
180
+
|`enableSmartCaptureMode`|`boolean`| The default smart capture mode state. |
181
+
|`scanRegion`|[`ScanRegion`](#scanregion)| Defines the region within the viewport to detect documents. |
182
+
|`minVerifiedFramesForAutoCapture`|`number`| The minimum number of camera frames to detect document boundaries on Smart Capture mode. |
183
+
|`showSubfooter`|`boolean`| Mode selector menu visibility. |
184
+
|`showPoweredByDynamsoft`|`boolean`| Visibility of the Dynamsoft branding message. |
Paths to extra resources such as `.wasm` engine files. The default paths point to CDNs and so may be left unset. You may set custom paths for the purpose of [self-hosting resources]({{ site.code-gallery }}mobile-web-capture/customization-guide.html#self-hosting-resource-files).
428
+
Paths to extra resources such as `.wasm` engine files. The default paths point to CDNs and so may be left unset. You may set custom paths to self-host resources, or host MDS fully offline - see [self-hosting resources]({{ site.guide }}index.html#self-host-resources) for details.
Copy file name to clipboardExpand all lines: code-gallery/mobile-web-capture/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,7 +186,7 @@ Alternatively, the script can be referenced from a CDN:
186
186
**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.
187
187
188
188
> [!IMPORTANT]
189
-
> 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]({{ site.guide }}mobile-web-capture/customization-guide.html#self-hosting-resource-files).
189
+
> 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]({{ site.code-gallery }}mobile-web-capture/customization-guide.html#self-hosting-resource-files).
190
190
191
191
### Instantiate MWC
192
192
@@ -197,7 +197,7 @@ const mobileWebCapture = new Dynamsoft.MobileWebCapture({
197
197
});
198
198
```
199
199
200
-
API Reference: [`MobileWebCapture()`](https://www.dynamsoft.com/mobile-web-capture/docs/api/mobile-web-capture.html#mobilewebcapture)
200
+
API Reference: [`MobileWebCapture()`]({{ site.code-gallery }}}mobile-web-capture/api.html#mobilewebcapture)
201
201
202
202
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]({{ site.code-gallery }}mobile-web-capture/customization-guide.html#example-1-specify-the-ui-container).
Copy file name to clipboardExpand all lines: guide/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ Alternatively, you can use other methods like `IIS` or `Apache` to serve the pro
185
185
186
186
### Self-Host Resources
187
187
188
-
By default, the MDS library (whether pre-compiled or self-compiled) fetches resource files (Dynamsoft `node` dependencies and an HTML UI template) from CDNs. Self-hosting library resources gives you full control over hosting your application. Rather than using CDNs to serve these resources, you can instead host these resources on your own servers to deliver to your users directly when they use your application.
188
+
By default, the MDS library (whether pre-compiled or self-compiled) fetches resource files (Dynamsoft `node` dependencies and an HTML UI template) from CDNs. Self-hosting library resources gives you full control over hosting your application. Rather than using CDNs to serve these resources, you can instead host these resources on your own servers to deliver to your users directly when they use your application. You can also use this option to host MDS fully offline by pointing to local resources.
189
189
190
190
#### Download Resources
191
191
@@ -339,7 +339,7 @@ Alternatively, the script can be referenced from a CDN:
339
339
**MDS** wraps all its dependency scripts, so a **MDS** project only needs to include **MDS** itself as a single script. No additional dependency scripts are required.
340
340
341
341
> [!WARNING]
342
-
> 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-Host Resources](#self-host-resources).
342
+
> 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 [quick start instructions to self-host resources](#quick-start).
0 commit comments