@innotec/openalpr-scanner
v4.0.0
Published
High-performance Angular 2+ openalpr scanner
Downloads
4
Keywords
Readme
@innotec/openalpr-scanner
Angular scanner component to scan licenceplate with openALPR
How To
I promise that it's very easy to use:
<!-- some.component.html -->
<openalpr-scanner></openalpr-scanner>
API
@Input() autofocusEnabled Default is true. Define if the autofocus is enabled
@Input() device: MediaDeviceInfo; Input the device what you want to use. Getting devices via camerasFound Output.
@Input() disableCamera: boolean; Input an event when the camera will disable
@Input() openalprsecret: string; The secret for the openalpr api.
@Input() openalprcountry: string = 'eu'; Define the country where you want to use.
@Output() camerasFound = new EventEmitter<MediaDeviceInfo[]>(); Emits the cameras of the device.
@Output() permissionResponse = new EventEmitter(); Emits true/false when no camerapermission.
@Output() licencePlate = new EventEmitter(); Outputs the licenceplate when process is done.
@Output() inProgress = new EventEmitter(); Outputs an event when component is in progress.