public static enum HaarCascadeDetector.BuiltInCascade extends Enum<HaarCascadeDetector.BuiltInCascade>
Enum Constant and Description |
---|
eye
A eye detector
|
eye_tree_eyeglasses
A eye with glasses detector
|
frontalface_alt
A frontal face detector
|
frontalface_alt_tree
A frontal face detector
|
frontalface_alt2
A frontal face detector
|
frontalface_default
A frontal face detector
|
fullbody
A fullbody detector
|
lefteye_2splits
A left eye detector
|
lowerbody
A lower body detector
|
mcs_eyepair_big
A detector for a pair of eyes
|
mcs_eyepair_small
A detector for a pair of eyes
|
mcs_lefteye
A left eye detector
|
mcs_mouth
A mouth detector
|
mcs_nose
A nose detector
|
mcs_righteye
A right eye detector
|
mcs_upperbody
An upper body detector
|
profileface
A profile face detector
|
righteye_2splits
A right eye detector
|
upperbody
An upper body detector
|
Modifier and Type | Method and Description |
---|---|
String |
classFile() |
HaarCascadeDetector |
load()
Create a new detector with the this cascade.
|
static HaarCascadeDetector.BuiltInCascade |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HaarCascadeDetector.BuiltInCascade[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HaarCascadeDetector.BuiltInCascade eye
public static final HaarCascadeDetector.BuiltInCascade eye_tree_eyeglasses
public static final HaarCascadeDetector.BuiltInCascade frontalface_alt
public static final HaarCascadeDetector.BuiltInCascade frontalface_alt2
public static final HaarCascadeDetector.BuiltInCascade frontalface_alt_tree
public static final HaarCascadeDetector.BuiltInCascade frontalface_default
public static final HaarCascadeDetector.BuiltInCascade fullbody
public static final HaarCascadeDetector.BuiltInCascade lefteye_2splits
public static final HaarCascadeDetector.BuiltInCascade lowerbody
public static final HaarCascadeDetector.BuiltInCascade mcs_eyepair_big
public static final HaarCascadeDetector.BuiltInCascade mcs_eyepair_small
public static final HaarCascadeDetector.BuiltInCascade mcs_lefteye
public static final HaarCascadeDetector.BuiltInCascade mcs_mouth
public static final HaarCascadeDetector.BuiltInCascade mcs_nose
public static final HaarCascadeDetector.BuiltInCascade mcs_righteye
public static final HaarCascadeDetector.BuiltInCascade mcs_upperbody
public static final HaarCascadeDetector.BuiltInCascade profileface
public static final HaarCascadeDetector.BuiltInCascade righteye_2splits
public static final HaarCascadeDetector.BuiltInCascade upperbody
public static HaarCascadeDetector.BuiltInCascade[] values()
for (HaarCascadeDetector.BuiltInCascade c : HaarCascadeDetector.BuiltInCascade.values()) System.out.println(c);
public static HaarCascadeDetector.BuiltInCascade 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 nullpublic HaarCascadeDetector load()
HaarCascadeDetector