public abstract class OrdFaceReader
extends java.lang.Object
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 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)
public abstract org.opencv.core.Mat getFaceImage(int i)
Copyright � 2015, Oracle and/or its affiliates. All rights reserved.