public class KLTHaarFaceTracker extends Object implements FaceTracker<FImage>
HaarCascadeDetector to detect faces in
the image and then tracks them using the KLTTracker.| Constructor and Description |
|---|
KLTHaarFaceTracker(int minSize)
Default constructor that takes the minimum size (in pixels) of detections
that should be considered faces.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getForceRetry() |
void |
setForceRetry(int forceRetry) |
List<DetectedFace> |
trackFace(FImage img)
Given the image, can a face be tracked on the image.
|
public KLTHaarFaceTracker(int minSize)
minSize - The minimum size of face boxespublic List<DetectedFace> trackFace(FImage img)
trackFace in interface FaceTracker<FImage>img - The image to track a face inFaceTracker.trackFace(org.openimaj.image.Image)public int getForceRetry()
public void setForceRetry(int forceRetry)
forceRetry - the forceRetry to set