| class info |
| com.huawei.hms.mlplugin.card.gcr.MLGcrCaptureFactory |
| 通用卡证识别器工厂类,用于创建卡证识别器实例,可指定不同类型识别器配置。 |
| Return type | Method name |
| MLGcrCapture | getGcrCapture(MLGcrCaptureConfig cardConfig) |
| MLGcrCapture | getGcrCapture(MLGcrCaptureConfig cardConfig, MLGcrCaptureUIConfig uiConfig) |
| MLGcrCaptureFactory | getInstance() |
| Method |
| public MLGcrCapture getGcrCapture(MLGcrCaptureConfig cardConfig) |
| 获取通用卡证识别器的实例,可指定卡证识别器的配置。 |
Parameters
| Parameter name | Parameter desc |
| cardConfig | 通用卡证识别器的配置。 |
Return
| Type | desc |
| MLGcrCapture | 通用卡证识别器插件。 |
| Method |
| public MLGcrCapture getGcrCapture(MLGcrCaptureConfig cardConfig, MLGcrCaptureUIConfig uiConfig) |
| 获取通用卡证识别插件实例,可指定识别配置和UI界面配置。 |
Parameters
| Parameter name | Parameter desc |
| cardConfig | 通用卡证识别器的配置。 |
| uiConfig | 识别插件UI界面配置。 |
Return
| Type | desc |
| MLGcrCapture | 通用卡证识别插件。 |
| Method |
| public static MLGcrCaptureFactory getInstance() |
| 获取通用卡证插件类工厂的实例。 |
Return
| Type | desc |
| MLGcrCaptureFactory | 通用卡证识别插件类工厂。 |