0.2.26 • Published 3 years ago

tm-ng-ocr v0.2.26

Weekly downloads
162
License
-
Repository
-
Last release
3 years ago

Getting Started

npm i tm-ng-ocr

Get your api key: talentomobile.

Configuration

Ensure you import the module and the dependencies:

import { TmNgOcrModule } from 'tm-ng-ocr';

@NgModule({
   imports: [
        ...OtherModules,
        TmNgOcrModule,
   ]
})
export class AppModule {}

Basic Example

@Component({
    selector: 'app',
    template: `<tm-ng-ocr token="YOUR_API_KEY" [id]="YOUR_ID" (result)="result($event)" (detected)="detected($event)" (error)="error($event)"></tm-ng-ocr>`
});
export class App {
    result(e){
        console.log(e)
    }
    detected(e){
        console.log(e)
    }
    error(e){
        console.log(e)
    }
}

Return Object

{
    "back_completed": "true",
    "birthday": "550935386",
    "completed": true,
    "country": "ESP",
    "debug_img": "",
    "denoise": "66",
    "expire": "1857821786",
    "frame_completed": "true",
    "front_completed": "true",
    "back_completed": "false",
    "id_photo": "",
    "it": "2",
    "name": "EPANOLA ESPANOLA  CARMEN",
    "name_confidence": "73",
    "nationality": "ESP",
    "number": "99999999R",
    "number_back": "99999999R",
    "sex": "F",
    "sharpness": "30.000000",
    "still_back": "",
    "still_front": "",
    "type": "3back",
    "version_back": "3",
    "version_front": "3",
    "video_back": "",
    "video_front": ""
}
0.2.26

3 years ago

0.2.22

4 years ago

0.2.21

4 years ago

0.2.20

4 years ago

0.2.17

4 years ago

0.2.16

5 years ago

0.2.15

5 years ago

0.2.14

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.1

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago