@Reference(type=Inproceedings, author={"Jason M. Saragih","Simon Lucey","Jeffrey F. Cohn"}, title="Face alignment through subspace constrained mean-shifts", year="2009", booktitle="IEEE 12th International Conference on Computer Vision, ICCV 2009, Kyoto, Japan, September 27 - October 4, 2009", pages={"1034","1041"}, publisher="IEEE", customData={"doi","http://dx.doi.org/10.1109/ICCV.2009.5459377","researchr","http://researchr.org/publication/SaragihLC09","cites","0","citedby","0"}) public class CLMFaceDetector extends Object implements FaceDetector<CLMDetectedFace,FImage>
CLM| Modifier and Type | Class and Description |
|---|---|
static class |
CLMFaceDetector.Configuration
Configuration for the face detector
|
| Constructor and Description |
|---|
CLMFaceDetector()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
binaryHeader()
Header for binary input.
|
List<CLMDetectedFace> |
detectFaces(FImage image)
Detect faces in the image and return a list of faces found.
|
List<CLMDetectedFace> |
detectFaces(FImage image,
List<Rectangle> detRects)
Detect faces in the image using the given rectangles as the seeds from
which to start fitting the model.
|
CLMFaceDetector.Configuration |
getConfiguration()
Get the internal configuration of the detector.
|
void |
readBinary(DataInput in)
Read internal state from in.
|
void |
writeBinary(DataOutput out)
Write the content of this as binary to out.
|
public CLMFaceDetector()
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<CLMDetectedFace> detectFaces(FImage image)
FaceDetectordetectFaces in interface FaceDetector<CLMDetectedFace,FImage>image - Image to search inpublic List<CLMDetectedFace> detectFaces(FImage image, List<Rectangle> detRects)
image - the imagedetRects - the seed rectanglespublic CLMFaceDetector.Configuration getConfiguration()