Skip to content

Commit ee864d7

Browse files
committed
feat: General MRZ
1 parent 0480004 commit ee864d7

14 files changed

+959
-460
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# About the solution
22

3-
Passport MRZ Scanner enables camera to scan the MRZ code of a passport. It will extract all data like firstname, lastname, passport number, nationality, date of birth, expiration date and personal number from the MRZ string, and converts the encoded string into human-readable fields. Welcome to visit dynamsoft's [official website](https://dynamsoft.com/capture-vision/docs/web/programming/javascript/user-guide/passport-mrz-scanner.html) to learn more about this solution.
3+
General MRZ Scanner enables camera to scan the MRZ code of ID-cards, passports, and visas. Currently, the General MRZ Scanner supports TD-1, TD-2, TD-3, MRV-A, and MRV-B standards. It will extract all data like first name, last name, document number, nationality, date of birth, expiration date and more from the MRZ string, and converts the encoded string into human-readable fields.
44

55
## Web demo
66

@@ -30,12 +30,12 @@ cd passport-MRZ-scanner-javascript
3030

3131
## Request a Trial License
3232

33-
The key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" used in this solution serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?product=passport&utm_source=docs&package=js" target="_blank">Request a Trial License</a> link.
33+
The key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" used in this solution (in the file `js/init.js`) serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?product=passport&utm_source=docs&package=js" target="_blank">Request a Trial License</a> link.
3434

3535
## Project Structure
3636

3737
```text
38-
Passport MRZ Scanner
38+
General MRZ Scanner
3939
├── assets
4040
│ ├── ...
4141
│ ├── ...
@@ -47,7 +47,7 @@ Passport MRZ Scanner
4747
│ ├── ...
4848
│ └── ...
4949
├── js
50-
│ ├── define.js
50+
│ ├── const.js
5151
│ ├── index.js
5252
│ ├── init.js
5353
│ └── util.js
@@ -59,7 +59,7 @@ Passport MRZ Scanner
5959
* `/css` : This directory contains the CSS file(s) used for styling the project.
6060
* `/font` : This directory contains the font files used in the project.
6161
* `/js` : This directory contains all the JavaScript files used in the project.
62-
* `define.js` : This file contains definitions of certain constants or variables used across the project.
62+
* `const.js` : This file contains definitions of certain constants or variables used across the project.
6363
* `index.js`: This is the main JavaScript file where the core logic of the project is implemented.
6464
* `init.js` : This file is used for initialization purposes, such as initializing license, load resources, etc.
6565
* `util.js` : This file contains utility functions that are used across the project.

assets/Music-selected.svg

Lines changed: 6 additions & 14 deletions
Loading

assets/passport frame.svg renamed to assets/mrz-guide-box.svg

Lines changed: 1 addition & 1 deletion
Loading

assets/music-unselected.svg

Lines changed: 7 additions & 10 deletions
Loading

assets/torch-icon-close.svg

Lines changed: 14 additions & 0 deletions
Loading

assets/torch-icon-open.svg

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)