fix(camera): raise minimum face brightness to 100

This commit is contained in:
xsl
2026-10-15 20:23:45 +08:00
parent 5632ac43d7
commit 480fed40cc
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -6,9 +6,9 @@
'use strict';
// Real-phone feedback: ease alignment and normal hand/head movement while
// retaining two checked frames, one face, framing and final JPEG validation.
var config = Object.freeze({ version: '2026-10-15-angle-relaxed-20-v3', score: 0.4,
var config = Object.freeze({ version: '2026-10-15-dark-100-v4', score: 0.4,
near: 0.30, far: 0.68, center: 0.16, edge: 0.01,
dark: 65, bright: 235, holdMs: 450, minFrames: 2, maxGapMs: 2000,
dark: 100, bright: 235, holdMs: 450, minFrames: 2, maxGapMs: 2000,
yawDrift: 8, pitchDrift: 8, centerDrift: 0.055, sizeDrift: 0.065 });
function finite(v) { return typeof v === 'number' && isFinite(v); }
function evaluate(d, options) {