MCPcopy Create free account
hub / github.com/MasteringOpenCV/code / detectBothEyes

Function detectBothEyes

Chapter8_FaceRecognition/preprocessFace.cpp:54–137  ·  view source on GitHub ↗

Search for both eyes within the given face image. Returns the eye centers in 'leftEye' and 'rightEye', or sets them to (-1,-1) if each eye was not found. Note that you can pass a 2nd eyeCascade if you want to search eyes using 2 different cascades. For example, you could use a regular eye detector as well as an eyeglasses detector, or a left eye detector as well as a right eye detector. Or if you

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getPreprocessedFaceFunction · 0.85

Calls 3

cvRoundFunction · 0.85
detectLargestObjectFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected