IMAGE - The type of imagepublic class IdentityFaceDetector<IMAGE extends Image<?,IMAGE>> extends Object implements FaceDetector<DetectedFace,IMAGE>
DetectedFace object.
 This class is only likely to be useful for performing evaluations of techniques that use datasets where a face has already been extracted/cropped into an image.
| Constructor and Description | 
|---|
| IdentityFaceDetector() | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | binaryHeader()Header for binary input. | 
| List<DetectedFace> | detectFaces(IMAGE image)Detect faces in the image and return a list of faces found. | 
| void | readBinary(DataInput in)Read internal state from in. | 
| String | toString() | 
| void | writeBinary(DataOutput out)Write the content of this as binary to out. | 
public IdentityFaceDetector()
public void readBinary(DataInput in) throws IOException
ReadableBinaryreadBinary in interface ReadableBinaryin - source to read from.IOException - an error reading inputpublic byte[] binaryHeader()
ReadableBinarybinaryHeader in interface ReadableBinarybinaryHeader in interface WriteableBinarypublic void writeBinary(DataOutput out) throws IOException
WriteableBinarywriteBinary in interface WriteableBinaryout - sink to write toIOException - an error writing to outpublic List<DetectedFace> detectFaces(IMAGE image)
FaceDetectordetectFaces in interface FaceDetector<DetectedFace,IMAGE extends Image<?,IMAGE>>image - Image to search in