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

Function getPreprocessedFace

Chapter8_FaceRecognition/preprocessFace.cpp:205–340  ·  view source on GitHub ↗

Create a grayscale face image that has a standard size and contrast & brightness. "srcImg" should be a copy of the whole color camera frame, so that it can draw the eye positions onto. If 'doLeftAndRightSeparately' is true, it will process left & right sides seperately, so that if there is a strong light on one side but not the other, it will still look OK. Performs Face Preprocessing as a combina

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 8

detectLargestObjectFunction · 0.85
detectBothEyesFunction · 0.85
MatClass · 0.85
cvRoundFunction · 0.85
copyToMethod · 0.80
channelsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected