Enum DocumentFaceDetectorType
- java.lang.Object
-
- java.lang.Enum<DocumentFaceDetectorType>
-
- com.microblink.entities.recognizers.blinkid.documentface.DocumentFaceDetectorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DocumentFaceDetectorType>
public enum DocumentFaceDetectorType extends java.lang.Enum<DocumentFaceDetectorType>
Possible supported detectors for documents containing face image
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IDENTITY_CARD_TD1
Uses document detector for TD1 size identity cardsIDENTITY_CARD_TD2
Uses document detector for TD2 size identity cardsPASSPORTS_AND_VISAS
Uses MRTD detector for detecting documents with MRZ
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentFaceDetectorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DocumentFaceDetectorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDENTITY_CARD_TD1
public static final DocumentFaceDetectorType IDENTITY_CARD_TD1
Uses document detector for TD1 size identity cards
-
IDENTITY_CARD_TD2
public static final DocumentFaceDetectorType IDENTITY_CARD_TD2
Uses document detector for TD2 size identity cards
-
PASSPORTS_AND_VISAS
public static final DocumentFaceDetectorType PASSPORTS_AND_VISAS
Uses MRTD detector for detecting documents with MRZ
-
-
Method Detail
-
values
public static DocumentFaceDetectorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentFaceDetectorType c : DocumentFaceDetectorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentFaceDetectorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-