Versions in this module Expand all Collapse all v0 v0.16.0 Aug 27, 2018 Changes in this version + const UnknownFace + type Face struct + func NewFace() Face + func (f *Face) Close() error + func (f *Face) IsLeftEyeClosed() bool + func (f *Face) IsRightEyeClosed() bool + func (f *Face) IsSmiling() bool + func (f *Face) LeftEyePosition() image.Point + func (f *Face) MouthPosition() image.Point + func (f *Face) Ptr() C.Face + func (f *Face) RIPAngle() int + func (f *Face) ROPAngle() int + func (f *Face) Rectangle() image.Rectangle + func (f *Face) RightEyePosition() image.Point + type FaceDetector struct + func NewFaceDetector() FaceDetector + func (f *FaceDetector) Close() error + func (f *FaceDetector) DetectBlink(img gocv.Mat, face Face) + func (f *FaceDetector) DetectEye(img gocv.Mat, face Face) + func (f *FaceDetector) DetectFaceRect(img gocv.Mat) []Face + func (f *FaceDetector) DetectMouth(img gocv.Mat, face Face) + func (f *FaceDetector) DetectSmile(img gocv.Mat, face Face) + func (f *FaceDetector) GetBlinkThreshold() int + func (f *FaceDetector) GetMaxDetectableFaces() int + func (f *FaceDetector) GetMinFaceSize() int + func (f *FaceDetector) GetRIPAngleRange() int + func (f *FaceDetector) GetROPAngleRange() int + func (f *FaceDetector) GetSmileThreshold() int + func (f *FaceDetector) IsTrackingModeEnabled() bool + func (f *FaceDetector) SetBlinkThreshold(thresh int) + func (f *FaceDetector) SetMaxDetectableFaces(max int) + func (f *FaceDetector) SetMinFaceSize(min int) + func (f *FaceDetector) SetRIPAngleRange(rip int) + func (f *FaceDetector) SetROPAngleRange(rop int) + func (f *FaceDetector) SetSmileThreshold(thresh int) + func (f *FaceDetector) SetTrackingModeEnabled(enabled bool) + type FaceRecognizer struct + func LoadFaceRecognizer(name string) FaceRecognizer + func NewFaceRecognizer() FaceRecognizer + func (f *FaceRecognizer) Clear() + func (f *FaceRecognizer) Close() error + func (f *FaceRecognizer) CreateNewPersonID() int + func (f *FaceRecognizer) DeregisterFace(faceID int64) + func (f *FaceRecognizer) DeregisterPerson(personID int) + func (f *FaceRecognizer) Empty() bool + func (f *FaceRecognizer) GetNumRegisteredPersons() int + func (f *FaceRecognizer) Recognize(img gocv.Mat, faces []Face) (personIDs, confidences []int) + func (f *FaceRecognizer) RegisterFace(img gocv.Mat, face Face, personID int, saveToFile bool) int64 + func (f *FaceRecognizer) Save(name string) + func (f *FaceRecognizer) SetTrackingModeEnabled(enabled bool)