| class info |
| com.huawei.hms.mlsdk.card.icr.cloud.MLRemoteIcrAnalyzerSetting |
On-cloud ID card recognition configurator, which is used to specify the attributes of the ID card recognition analyzer on the cloud. The ID card recognition analyzer attributes include: 1. Front and back sides of an ID card 2. Country code |
| Type | Name | Desc |
| String | BACK | Back side of an ID card. |
| String | FRONT | Front side of an ID card. |
| Return type | Method name |
| MLRemoteIcrAnalyzerSetting.Factory | create() |
| boolean | equals(Object obj) |
| String | getCountryCode() |
| String | getSideType() |
| int | hashCode() |
| Constant |
| public static final String BACK |
Back side of an ID card. Constant value: BACK |
| Constant |
| public static final String FRONT |
Front side of an ID card. Constant value: FRONT |
| Method |
| public MLRemoteIcrAnalyzerSetting.Factory create() |
| Creates an instance of MLRemoteIcrAnalyzerSetting.Factory. |
Return
| Type | desc |
| MLRemoteIcrAnalyzerSetting.Factory | Returns the instance of MLRemoteIcrAnalyzerSetting.Factory. |
| Method |
| public boolean equals(Object obj) |
| Checks whether two ID card recognition configurator instances are equal. |
Parameters
| Parameter name | Parameter desc |
| obj | ID card recognition configurator instance to be compared. |
Return
| Type | desc |
| boolean | true: Two ID card recognition configurator instances are equal. false: Two ID card recognition configurator instances are not equal. |
| Method |
| public String getCountryCode() |
| Obtains the country code (two-letter code complying with the ISO 3166-1 standard) of the ID card. The default value is CN. |
Return
| Type | desc |
| String | Returns the country code (two-letter code complying with the ISO 3166-1 standard) of the ID card. The default value is CN. |
| Method |
| public String getSideType() |
| Obtains the front or back side of an ID card recognized. |
Return
| Type | desc |
| String | Returns the front or back side of an ID card recognized. BACK: back side FRONT: front side |
| Method |
| public int hashCode() |
| Obtains the hash value of the ID card recognition configurator instance. |
Return
| Type | desc |
| int | Returns the hash value of the ID card recognition configurator instance. |