public abstract class OrdFaceReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
m_conf_file |
static java.lang.String |
S_FACEREADER_CONFIGURATION |
static java.lang.String |
S_FACEREADER_NAME |
Constructor and Description |
---|
OrdFaceReader(java.lang.String conf_file)
Creates an OrdFaceReader object that reads the face images which are used in training the face recognition model.
|
Modifier and Type | Method and Description |
---|---|
abstract org.opencv.core.Mat |
getFaceImage(int i)
Returns the image data of the ith face image used in training the face recognition model.
|
abstract int |
getLabel(int i)
Returns the label of the ith face image used in training the face recognition model.
|
abstract int |
getNumberOfImages()
Returns the number of face images used in training the face recognition model.
|
public static final java.lang.String S_FACEREADER_CONFIGURATION
public static final java.lang.String S_FACEREADER_NAME
protected java.lang.String m_conf_file
public OrdFaceReader(java.lang.String conf_file)
conf_file
- the configuration file name. The configuration file specifies the parameters used in reading the face images.public abstract int getNumberOfImages()
public abstract int getLabel(int i)
i
- the ith face image used in trainingpublic abstract org.opencv.core.Mat getFaceImage(int i)
i
- the ith face image used in trainingCopyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.