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

Function detectObjectsCustom

Chapter8_FaceRecognition/detectObject.cpp:23–81  ·  view source on GitHub ↗

Search for objects such as faces in the image using the given parameters, storing the multiple cv::Rects into 'objects'. Can use Haar cascades or LBP cascades for Face Detection, or even eye, mouth, or car detection. Input is temporarily shrunk to 'scaledWidth' for much faster detection, since 200 is enough to find faces.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

detectLargestObjectFunction · 0.85
detectManyObjectsFunction · 0.85

Calls 4

cvRoundFunction · 0.85
resizeFunction · 0.85
channelsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected