FACE - Type of DetectedFacePERSON - Type of object representing a personpublic abstract class FaceRecogniser<FACE extends DetectedFace,PERSON> extends IncrementalAnnotator<FACE,PERSON> implements RestrictedAnnotator<FACE,PERSON>, ReadWriteableBinary
| Modifier | Constructor and Description |
|---|---|
protected |
FaceRecogniser() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<ScoredAnnotation<PERSON>> |
annotate(FACE object)
Attempt to recognize the given face.
|
abstract List<ScoredAnnotation<PERSON>> |
annotate(FACE object,
Collection<PERSON> restrict)
Attempt to recognize the given face, restricting the potential people to
coming from the given set.
|
ScoredAnnotation<PERSON> |
annotateBest(FACE object)
Attempt to recognize the given face.
|
ScoredAnnotation<PERSON> |
annotateBest(FACE object,
Collection<PERSON> restrict)
Attempt to recognize the given face, restricting the potential people to
coming from the given set.
|
Set<PERSON> |
listPeople()
Convenience method for
Annotator.getAnnotations() |
train, train, trainMultiClassclassifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbinaryHeader, readBinarybinaryHeader, writeBinaryreset, traingetAnnotationsprotected FaceRecogniser()
public abstract List<ScoredAnnotation<PERSON>> annotate(FACE object, Collection<PERSON> restrict)
annotate in interface RestrictedAnnotator<FACE extends DetectedFace,PERSON>object - the detected facerestrict - the set of allowed peoplepublic ScoredAnnotation<PERSON> annotateBest(FACE object, Collection<PERSON> restrict)
object - the detected facerestrict - the set of allowed peoplepublic abstract List<ScoredAnnotation<PERSON>> annotate(FACE object)
annotate in interface Annotator<FACE extends DetectedFace,PERSON>object - the detected facepublic ScoredAnnotation<PERSON> annotateBest(FACE object)
object - the detected facepublic Set<PERSON> listPeople()
Annotator.getAnnotations()Annotator.getAnnotations()