| class info |
| com.huawei.hms.mlsdk.card.MLCardAnalyzerFactory |
| 检测器工厂类,负责创建各种类型的检测器,内置默认的检测器配置,也允许指定不同类型检测器配置。 |
| Return type | Method name |
| MLBcrAnalyzer | getBcrAnalyzer() |
| MLBcrAnalyzer | getBcrAnalyzer(MLBcrAnalyzerSetting setting) |
| MLIcrAnalyzer | getIcrAnalyzer() |
| MLIcrAnalyzer | getIcrAnalyzer(MLIcrAnalyzerSetting setting) |
| MLCardAnalyzerFactory | getInstance() |
| MLCardAnalyzerFactory | getInstance(MLApplication applicaion) |
| MLRemoteIcrAnalyzer | getRemoteIcrAnalyzer() |
| MLRemoteIcrAnalyzer | getRemoteIcrAnalyzer(MLRemoteIcrAnalyzerSetting setting) |
| Method |
| public MLBcrAnalyzer getBcrAnalyzer() |
| 按默认配置创建端侧银行卡检测器的实例。 |
Return
| Type | desc |
| MLBcrAnalyzer | 返回端侧银行卡检测器的实例。 |
| Method |
| public MLBcrAnalyzer getBcrAnalyzer(MLBcrAnalyzerSetting setting) |
| 按指定配置创建端侧银行卡检测器的实例。 |
Parameters
| Parameter name | Parameter desc |
| setting | 指定端侧银行卡检测器的配置。 |
Return
| Type | desc |
| MLBcrAnalyzer | 返回端侧银行卡检测器的实例。 |
| Method |
| public MLIcrAnalyzer getIcrAnalyzer() |
| 按默认配置创建端侧身份证检测器的实例。 |
Return
| Type | desc |
| MLIcrAnalyzer | 返回端侧身份证检测器的实例。 |
| Method |
| public MLIcrAnalyzer getIcrAnalyzer(MLIcrAnalyzerSetting setting) |
| 按指定配置创建端侧身份证检侧器的实例。 |
Parameters
| Parameter name | Parameter desc |
| setting | 指定端侧身份证检测器的配置。 |
Return
| Type | desc |
| MLIcrAnalyzer | 返回端侧身份证检测器的实例。 |
| Method |
| public static MLCardAnalyzerFactory getInstance() |
| 获取当前应用的卡证检测器的工厂实例。 |
Return
| Type | desc |
| MLCardAnalyzerFactory | 返回当前应用的卡证检测器的工厂实例。 |
| Method |
| public static MLCardAnalyzerFactory getInstance(MLApplication applicaion) |
| 获取指定应用的卡证检测器的工厂实例。 |
Parameters
| Parameter name | Parameter desc |
| applicaion | 指定应用 |
Return
| Type | desc |
| MLCardAnalyzerFactory | 返回指定应用的卡证检测器工厂的实例。 |
| Method |
| public MLRemoteIcrAnalyzer getRemoteIcrAnalyzer() |
| 按默认配置创建云侧身份证检测器的实例。 |
Return
| Type | desc |
| MLRemoteIcrAnalyzer | 返回云侧身份证检测器的实例。 |
| Method |
| public MLRemoteIcrAnalyzer getRemoteIcrAnalyzer(MLRemoteIcrAnalyzerSetting setting) |
| 按指定配置创建云侧身份证检测器的实例。 |
Parameters
| Parameter name | Parameter desc |
| setting | 指定云侧身份证检测器的配置。 |
Return
| Type | desc |
| MLRemoteIcrAnalyzer | 返回云侧身份证检测器的实例。 |