| class info |
| com.huawei.hms.mlsdk.card.icr.MLIdCard |
| Recognized ID card information. |
| Return type | Method name |
| android.graphics.Bitmap | getCardBitmap() |
| String | getIdNum() |
| String | getName() |
| int | getRetCode() |
| String | getSex() |
| int | getSideType() |
| String | getValidDate() |
| Method |
| public android.graphics.Bitmap getCardBitmap() |
| Obtains the ID card image recognized from an image. |
Return
| Type | desc |
| android.graphics.Bitmap | Returns the ID card image recognized from an image. |
| Method |
| public String getIdNum() |
| Obtains the ID number recognized from an ID card image. |
Return
| Type | desc |
| String | Returns the ID number. |
| Method |
| public String getName() |
| Obtains the name recognized from an ID card image. |
Return
| Type | desc |
| String | Returns the name of the ID card. |
| Method |
| public int getRetCode() |
| Obtains the recognition result of an ID card image. |
Return
| Type | desc |
| int | Returns the recognition result of an ID card image. |
| Method |
| public String getSex() |
| Obtains the gender recognized from an ID card image. |
Return
| Type | desc |
| String | Returns the gender of the ID card. |
| Method |
| public int getSideType() |
| Obtains the front or back side of the ID card recognized from an image. |
Return
| Type | desc |
| int | Returns the front or back side of the ID card recognized from an image.1: front side2: back side |
| Method |
| public String getValidDate() |
| Obtains the validity period recognized from an ID card image. |
Return
| Type | desc |
| String | Returns the validity period of the ID card. |