MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / IsEyeHorizOk

Function IsEyeHorizOk

jni/stasm/eyedet.cpp:368–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366// eyes no more than the eye width.
367
368static bool IsEyeHorizOk(
369 const Rect& left, // in
370 const Rect& right) // in
371{
372 return left.x + left.width - right.x <= .1 * left.width &&
373 right.x - (left.x + left.width) <= left.width;
374}
375
376static bool VerticalOverlap( // do the two eye rectangles overlap vertically?
377 const Rect& left, // in

Callers 1

SelectEyesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected