Update documentation

This commit is contained in:
Mick Vleeshouwer 2018-03-17 20:44:56 +01:00
parent e27fbf47bd
commit 11a402626c

View File

@ -33,6 +33,8 @@ export interface OpenALPRResult {
* amount: 3 * amount: 3
* } * }
* *
* // To get imageData, you can use the @ionic-native/camera module for example. It works with DestinationType.FILE_URI and DATA_URL
*
* this.openALPR.scan(imageData, scanOptions) * this.openALPR.scan(imageData, scanOptions)
* .then((res: [OpenALPRResult]) => console.log(res)) * .then((res: [OpenALPRResult]) => console.log(res))
* .catch((error: Error) => console.error(error)); * .catch((error: Error) => console.error(error));