MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _clear_fail

Function _clear_fail

Scripts/ButSystem.py:10227–10232  ·  view source on GitHub ↗
(ip: str, username: str = "")

Source from the content-addressed store, hash-verified

10225 const browLStr = browL > 0.12 ? (I18N.raise || 'RAISE') : (browL < 0.08 ? (I18N.furrow || 'FURROW') : (I18N.neut || 'NEUT'));
10226 const browRStr = browR > 0.12 ? (I18N.raise || 'RAISE') : (browR < 0.08 ? (I18N.furrow || 'FURROW') : (I18N.neut || 'NEUT'));
10227 const mouthOpen = calcDist(landmarks[13], landmarks[14]) / faceHeight * 100;
10228 const mouthW = calcDist(landmarks[61], landmarks[291]) / faceWidth * 100;
10229 const asymEye = Math.abs(leftEyeOpen - rightEyeOpen);
10230 const asymBrow = Math.abs(browL - browR) * 100;
10231 const totalAsym = (asymEye + asymBrow).toFixed(2);
10232 const emotion = getEmotion(landmarks, faceWidth, faceHeight);
10233
10234 ctx.scale(-1, 1); ctx.translate(-canvasEl.width, 0);
10235 const faceLeftPx = (1 - pLeft.x) * canvasEl.width;

Callers 2

loginFunction · 0.70
two_factorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected