Skip to content

Commit 03b9d14

Browse files
authored
Merge pull request #43 from dynamsoft-docs/preview
update to internal commit 8f20b64e
2 parents 260d299 + 8258dae commit 03b9d14

File tree

8 files changed

+49
-25
lines changed

8 files changed

+49
-25
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ddn_js_api: /document-normalizer/docs/web/programming/javascript/api-reference/
2525
dcp_js_api: /code-parser/docs/web/programming/javascript/api-reference/
2626
dce_js_api: /camera-enhancer/docs/web/programming/javascript/api-reference/
2727
code_types: /code-parser/docs/core/code-types/
28+
dcvb_root: /capture-vision/docs/core/
2829

2930
assets: /capture-vision/docs/web/assets/
3031
edit_icon: /capture-vision/docs/web/assets/img-icon/edit-icon.png

_data/product_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
useGroupedVersion: true
22

33
version_info_list:
4-
- value: latest version(2.4.2100)
4+
- value: latest version(2.4.2200)
55
- value: 2.x
66
child:
77
- 2.2.3000

assets/js/dcvWebVersionSearch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"version": "2.4.2100",
3+
"version": "2.4.2200",
44
"matchVersion": {
5-
"javascript": "10.4.2001"
5+
"javascript": "10.4.2002"
66
}
77
},
88
{

programming/javascript/api-reference/capture-vision-router/single-image-processing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Please be aware that the [preset CaptureVisionTemplates](./preset-templates.md)
3737

3838
**Return value**
3939

40-
A promise that resolves with a [CapturedResult]({{ site.dcv_js_api }}core/basic-structures/captured-result.html) object which contains the derived information from the image processed.
40+
A promise that resolves with a [CapturedResult]({{ site.dcv_js_api }}interfaces/captured-result.html) object which contains the derived information from the image processed.
4141

4242
**Code snippet**
4343

programming/javascript/api-reference/core/basic-structures/captured-result.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ignore: true
1111

1212
# CapturedResult
1313

14-
The [CapturedResult]({{ site.dcv_js_api }}core/basic-structures/captured-result.html) interface describes the basic structure of a result object returned by Dynamsoft Capture Vision Router.
14+
The `CapturedResult` interface describes the basic structure of a result object returned by Dynamsoft Capture Vision Router.
1515

1616
> NOTE:
1717
>

programming/javascript/release-notes/dcvb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ noTitleIndex: true
99

1010
# Release Notes - DynamsoftCaptureVisionBundle
1111

12-
## 2.4.2100 (10/17/2024)
12+
## 2.4.2200 (10/24/2024)
1313

1414
### Highlights
1515

programming/javascript/release-notes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ noTitleIndex: true
99

1010
# Release Notes - Dynamsoft Capture Vision Bundle JavaScript
1111

12-
- [2.4.2100 (10/17/2024)](dcvb.md#242100-10172024)
12+
- [2.4.2200 (10/24/2024)](dcvb.md#242200-10242024)
1313
- [2.2.3000 (07/21/2024)](dcvb.md#223000-07212024)

programming/javascript/user-guide/mrz-scanner.md

Lines changed: 41 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ This guide walks you through the process of creating a simple MRZ scanner soluti
1616

1717
- [MRZ Scanner Solution for Your Website - User Guide](#mrz-scanner-solution-for-your-website---user-guide)
1818
- [About the solution](#about-the-solution)
19+
- [Supported Machine-Readable Travel Document Types](#supported-machine-readable-travel-document-types)
20+
- [ID (TD1 Size)](#id-td1-size)
21+
- [ID (TD2 Size)](#id-td2-size)
22+
- [Passport (TD3 Size)](#passport-td3-size)
1923
- [Web demo](#web-demo)
2024
- [Run this Solution](#run-this-solution)
2125
- [Project structure](#project-structure)
@@ -37,6 +41,38 @@ This guide walks you through the process of creating a simple MRZ scanner soluti
3741

3842
With the MRZ Scanner, you can use your camera to scan the MRZ code from a passport or ID. The scanner extracts data such as first name, last name, document number, nationality, date of birth, expiration date, and personal number from the MRZ string, converting it into human-readable fields.
3943

44+
### Supported Machine-Readable Travel Document Types
45+
46+
The Machine Readable Travel Documents (MRTD) standard specified by the International Civil Aviation Organization (ICAO) defines how to encode information for optical character recognition on official travel documents.
47+
48+
Currently, the solution supports three types of MRTD:
49+
50+
> Note: If you need support for other types of MRTDs, our SDK can be easily customized. Please contact [email protected].
51+
52+
#### ID (TD1 Size)
53+
54+
The MRZ (Machine Readable Zone) in TD1 format consists of 3 lines, each containing 30 characters.
55+
56+
<div>
57+
<img src="{{ site.dcvb_root }}programming/assets/td1-id.png" alt="Example of MRZ in TD1 format" width="60%" />
58+
</div>
59+
60+
#### ID (TD2 Size)
61+
62+
The MRZ (Machine Readable Zone) in TD2 format consists of 2 lines, with each line containing 36 characters.
63+
64+
<div>
65+
<img src="{{ site.dcvb_root }}programming/assets/td2-id.png" alt="Example of MRZ in TD2 format" width="72%" />
66+
</div>
67+
68+
#### Passport (TD3 Size)
69+
70+
The MRZ (Machine Readable Zone) in TD3 format consists of 2 lines, with each line containing 44 characters.
71+
72+
<div>
73+
<img src="{{ site.dcvb_root }}programming/assets/td3-passport.png" alt="Example of MRZ in TD2 format" width="88%" />
74+
</div>
75+
4076
### Web demo
4177

4278
The web demo is available at [https://demo.dynamsoft.com/solutions/mrz-scanner/index.html]( https://demo.dynamsoft.com/solutions/mrz-scanner/index.html). Rest assured, no personal data will be uploaded.
@@ -108,13 +144,13 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
108144
* jsDelivr
109145

110146
```html
111-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2100/dist/dcv.bundle.js"></script>
147+
<script src="https://cdn.jsdelivr.net/npm/[email protected].2200/dist/dcv.bundle.js"></script>
112148
```
113149

114150
* UNPKG
115151

116152
```html
117-
<script src="https://unpkg.com/[email protected].2100/dist/dcv.bundle.js"></script>
153+
<script src="https://unpkg.com/[email protected].2200/dist/dcv.bundle.js"></script>
118154
```
119155

120156
> Besides using the public CDN, you can also download the SDK from the npm and host its files on your own server or a commercial CDN before including it in your application. Please see [Host the SDK yourself](#host-the-sdk-yourself)
@@ -210,7 +246,7 @@ You can download the SDK from npm and host it yourself.
210246
> Note that you need to get two other assisting packages.
211247
212248
```cmd
213-
npm i [email protected].2100 -E
249+
npm i [email protected].2200 -E
214250
215251
216252
```
@@ -222,21 +258,8 @@ The resources are located at the path node_modules/<pkg>, without @<version>, so
222258
Since @<version> is missing, you need to specify the location of the "engine" files:
223259

224260
```javascript
225-
//The following code uses the jsDelivr CDN, feel free to change it to your own location of these files
226-
Object.assign(Dynamsoft.Core.CoreModule.engineResourcePaths, {
227-
"std":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
228-
"core":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
229-
"dip":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
230-
"license":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
231-
"cvr":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
232-
"dce":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
233-
"dbr":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
234-
"dlr":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
235-
"dcp":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
236-
"ddn":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
237-
"dlrData":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
238-
"dnn":"https://cdn.jsdelivr.net/npm/[email protected]/dist/",
239-
});
261+
//The following code uses the jsDelivr CDN as an example, feel free to change it to your own location of these files
262+
Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
240263
```
241264

242265
*Note*:

0 commit comments

Comments
 (0)
close