public enum IdCardOcrAdvanced extends Enum<IdCardOcrAdvanced>
IdCardOcrWarn| Enum Constant and Description |
|---|
CROP_ID_CARD
裁剪身份证图片,去掉边框外的内容,并自动矫正拍摄角度
|
CROP_PORTRAIT
裁剪人像,自动矫正拍摄角度
|
DETECT_COPY
检查是否为身份证的副本(如:复印件、翻拍照片等)
|
DETECT_DEFINITION
检查图片是否清晰(如:模糊的、有反光的)
|
DETECT_FAKE
检查是否伪造的(如:PS过的、假证等等)
|
DETECT_INCOMPLETE
检查是否为不完整图片(如:边框或框内有遮挡等)
|
DETECT_INVALID
检查是否已过期(有效期限未开始或已过期)
|
DETECT_TEMP
检查是否临时身份证
|
| Modifier and Type | Field and Description |
|---|---|
static IdCardOcrAdvanced[] |
ALL_ARRAY
包含所有枚举的数组
|
static IdCardOcrAdvanced[] |
ALL_CROP_ARRAY
包含所有裁剪的枚举的数组
|
static IdCardOcrAdvanced[] |
ALL_DETECT_ARRAY
包含所有检查枚举的数组
|
static IdCardOcrAdvanced[] |
EMPTY_ARRAY
不含任何枚举的数组
|
| Modifier and Type | Method and Description |
|---|---|
static IdCardOcrAdvanced |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdCardOcrAdvanced[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdCardOcrAdvanced CROP_ID_CARD
public static final IdCardOcrAdvanced CROP_PORTRAIT
public static final IdCardOcrAdvanced DETECT_INVALID
public static final IdCardOcrAdvanced DETECT_INCOMPLETE
public static final IdCardOcrAdvanced DETECT_DEFINITION
IdCardOcrWarn.VAGUE,
IdCardOcrWarn.REFLECTpublic static final IdCardOcrAdvanced DETECT_COPY
IdCardOcrWarn.COPY,
IdCardOcrWarn.RESHOOTpublic static final IdCardOcrAdvanced DETECT_TEMP
IdCardOcrWarn.TEMPpublic static final IdCardOcrAdvanced DETECT_FAKE
IdCardOcrWarn.PS,
IdCardOcrWarn.FAKEpublic static final IdCardOcrAdvanced[] EMPTY_ARRAY
public static final IdCardOcrAdvanced[] ALL_ARRAY
public static final IdCardOcrAdvanced[] ALL_CROP_ARRAY
public static final IdCardOcrAdvanced[] ALL_DETECT_ARRAY
public static IdCardOcrAdvanced[] values()
for (IdCardOcrAdvanced c : IdCardOcrAdvanced.values()) System.out.println(c);
public static IdCardOcrAdvanced valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021–2022 EasyJ????. All rights reserved.