dukedhx / scanid-ionic-capacitor

A cross platform (iOS/Android/web) sample project to demonstrate Chinese (mainland) national ID OCR recognition with tesseract.js and Ionic Capacitor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular iOS Android Standard License

Description

A cross platform (iOS/Android/web) sample project to demonstrate Chinese (mainland) national ID OCR recognition with tesseract.js and Ionic Capacitor.

Prerequisites

Setup and Run

  • Clone the project and proceed to its directory in CLI

  • npm install //run once to install dependencies

  • npm start //run the sample

  • Browse to http://localhost:4200

mobile

  • npx cap add android and/or npx cap add ios //set up platform projects

  • Open the project in your IDE of chocie to run on devices/simulators ...

Project Structure

src —
    |- app  //TS source
    |- assets  //assets incl. language models
    |- environment  //environment variables
e2e -   //e2e tests

Written By

Bryan Huang

About

A cross platform (iOS/Android/web) sample project to demonstrate Chinese (mainland) national ID OCR recognition with tesseract.js and Ionic Capacitor.

License:MIT License


Languages

Language:TypeScript 60.2%Language:SCSS 27.7%Language:JavaScript 7.8%Language:HTML 4.4%