| class info |
| com.huawei.hms.mlsdk.card.MLCardAnalyzerFactory |
| Analyzer factory class, which is used to create various types of analyzers. The default analyzer configuration is built in, and you can also specify different types of analyzer configurations. |
| 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() |
| Creates an on-device bank card analyzer instance based on the default configuration. |
Return
| Type | desc |
| MLBcrAnalyzer | Returns an on-device bank card analyzer instance. |
| Method |
| public MLBcrAnalyzer getBcrAnalyzer(MLBcrAnalyzerSetting setting) |
| Creates an on-device bank card analyzer instance based on the specified configuration. |
Parameters
| Parameter name | Parameter desc |
| setting | Specified on-device bank card analyzer configuration. |
Return
| Type | desc |
| MLBcrAnalyzer | Returns an on-device bank card analyzer instance. |
| Method |
| public MLIcrAnalyzer getIcrAnalyzer() |
| Creates an on-device ID card analyzer instance based on the default configuration. |
Return
| Type | desc |
| MLIcrAnalyzer | Returns an on-device ID card analyzer instance. |
| Method |
| public MLIcrAnalyzer getIcrAnalyzer(MLIcrAnalyzerSetting setting) |
| Creates an on-device ID card analyzer instance based on the specified configuration. |
Parameters
| Parameter name | Parameter desc |
| setting | Specified on-device ID card analyzer configuration. |
Return
| Type | desc |
| MLIcrAnalyzer | Returns an on-device ID card analyzer instance. |
| Method |
| public static MLCardAnalyzerFactory getInstance() |
| Obtains the card analyzer factory instance of the current app. |
Return
| Type | desc |
| MLCardAnalyzerFactory | Returns the card analyzer factory instance of the current app. |
| Method |
| public static MLCardAnalyzerFactory getInstance(MLApplication applicaion) |
| Obtains the card analyzer factory instance of a specified app. |
Parameters
| Parameter name | Parameter desc |
| applicaion | Specified app. |
Return
| Type | desc |
| MLCardAnalyzerFactory | Returns the card analyzer factory instance of a specified app. |
| Method |
| public MLRemoteIcrAnalyzer getRemoteIcrAnalyzer() |
| Creates an on-cloud ID card analyzer instance based on the default configuration. |
Return
| Type | desc |
| MLRemoteIcrAnalyzer | Returns an on-cloud ID card analyzer instance. |
| Method |
| public MLRemoteIcrAnalyzer getRemoteIcrAnalyzer(MLRemoteIcrAnalyzerSetting setting) |
| Creates an on-cloud ID card analyzer instance based on the specified configuration. |
Parameters
| Parameter name | Parameter desc |
| setting | Specified on-cloud ID card analyzer configuration. |
Return
| Type | desc |
| MLRemoteIcrAnalyzer | Returns an on-cloud ID card analyzer instance. |