public static class MultiTracker.TrackedFace extends DetectedFace
Modifier and Type | Field and Description |
---|---|
CLM |
clm
The constrained local model
|
protected boolean |
gen |
Rectangle |
lastMatchBounds
The last matched bounds: _rect
|
Rectangle |
redetectedBounds
The redetected bounds: R
|
Jama.Matrix |
referenceShape
The reference shape
|
Jama.Matrix |
shape
The current shape
|
FImage |
templateImage
The template image
|
bounds, confidence, facePatch
Constructor and Description |
---|
TrackedFace(Rectangle r,
MultiTracker.TrackerVars tv) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Get the bounding box of the face in the detection image.
|
String |
toString() |
binaryHeader, getConfidence, getFacePatch, getShape, readBinary, setBounds, setConfidence, setFacePatch, writeBinary
public Jama.Matrix shape
public Jama.Matrix referenceShape
public FImage templateImage
public Rectangle lastMatchBounds
public Rectangle redetectedBounds
protected boolean gen
public TrackedFace(Rectangle r, MultiTracker.TrackerVars tv)
r
- The rectangle in which the initial face was foundtv
- The initial tracker vars to usepublic Rectangle getBounds()
DetectedFace
DetectedFace.getShape()
, or it might
encompass that shape.getBounds
in class DetectedFace