目录

class info
com.huawei.hms.mlplugin.card.gcr.MLGcrCaptureFactory
通用卡证识别器工厂类,用于创建卡证识别器实例,可指定不同类型识别器配置。

Public Method Summary

Return typeMethod name
MLGcrCapturegetGcrCapture(MLGcrCaptureConfig cardConfig)
MLGcrCapturegetGcrCapture(MLGcrCaptureConfig cardConfig, MLGcrCaptureUIConfig uiConfig)
MLGcrCaptureFactorygetInstance()

Public Methods

Method
public MLGcrCapture getGcrCapture(MLGcrCaptureConfig cardConfig)
获取通用卡证识别器的实例,可指定卡证识别器的配置。

Parameters

Parameter nameParameter desc
cardConfig通用卡证识别器的配置。


Return

Typedesc
MLGcrCapture通用卡证识别器插件。
Method
public MLGcrCapture getGcrCapture(MLGcrCaptureConfig cardConfig, MLGcrCaptureUIConfig uiConfig)
获取通用卡证识别插件实例,可指定识别配置和UI界面配置。

Parameters

Parameter nameParameter desc
cardConfig通用卡证识别器的配置。
uiConfig识别插件UI界面配置。


Return

Typedesc
MLGcrCapture通用卡证识别插件。
Method
public static MLGcrCaptureFactory getInstance()
获取通用卡证插件类工厂的实例。

Return

Typedesc
MLGcrCaptureFactory通用卡证识别插件类工厂。