@innotec/openalpr-scanner

High-performance Angular 2+ openalpr scanner

Stats

StarsIssuesVersionUpdatedCreatedSize
@innotec/openalpr-scanner
4.0.0a year ago3 years agoMinified + gzip package size for @innotec/openalpr-scanner in KB

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.