| class info |
| com.huawei.hms.mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory |
| Creates an instance of the ID card recognition configurator. |
Public Constructor Summary
| Constructor name |
Factory() Creates an instance of the ID card recognition configurator. |
Public Method Summary
Public Constructors
| Method |
| public Factory() |
| Creates an instance of the ID card recognition configurator. |
Public Methods
| Method |
| public mlplugin.card.icr.cn.MLCnIcrCaptureConfig create() |
| Creates a Chinese second-generation ID card recognition configurator instance MLCnIcrCaptureConfig. |
Return
| Type | desc |
| mlplugin.card.icr.cn.MLCnIcrCaptureConfig | Returns a Chinese second-generation ID card recognition configurator instance MLCnIcrCaptureConfig. |
| Method |
| public mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory setFront(boolean isFront) |
| Sets the front or back side of an ID card. |
Parameters
| Parameter name | Parameter desc |
| isFront | Indicates whether the ID card is on the front or back side. true: front false: back |
Return
| Type | desc |
| mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory | Returns the instance of MLCnIcrCaptureConfig.Factory. |
| Method |
| public mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory setRemote(boolean isRemote) |
| Indicates whether the current ID card is recognized on the device or cloud. |
Parameters
| Parameter name | Parameter desc |
| isRemote | Indicates whether the current ID card is recognized on the device or cloud.true: cloudfalse: device |
Return
| Type | desc |
| mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory | Returns the instance of MLCnIcrCaptureConfig.Factory. |
This page may contain third-party content. For details, click
here.