com.pax.dal
Interface ILPR.ILPRListener
-
- Enclosing interface:
- ILPR
public static interface ILPR.ILPRListener
识别结果回调。Callback of recognition result.- Since:
- V4.04.00
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidonError(int code)错误回调。Error callback.voidonSuccess(LPRResult result)成功回调。Success callback.
-
-
-
Method Detail
-
onSuccess
void onSuccess(LPRResult result)
成功回调。Success callback.- Parameters:
result-根据ILPR.startPreview(int, int, ILPR.ILPRListener)的type,强制转换成对应的OCRResult。ILPR.TYPE_IND:LPRIndiaResultILPR.TYPE_CHN:LPRChinaResultCast to the corresponding OCRResult according to the type ofILPR.startPreview(int, int, ILPR.ILPRListener).ILPR.TYPE_IND:LPRIndiaResultILPR.TYPE_CHN:LPRChinaResult- Since:
- V4.04.00
-
onError
void onError(int code)
错误回调。Error callback.- Parameters:
code-- 1:获取失败
- 2:识别超时
- 3:取消识别
- 4:LPR服务初始化失败
- 1:Recognize failure
- 2:Recognize timeout
- 3:Cancel recognize
- 4:LPR service initialization failure
- Since:
- V4.04.00
-
-