fix(camera): relax initial frontal face recognition
This commit is contained in:
@@ -152,7 +152,7 @@ try {
|
||||
for (const key of ['front', 'left', 'right']) {
|
||||
const row = body.capture_diagnostics.views[key];
|
||||
assert.equal(row.mode, 'live'); assert.equal(row.direction_checked, true);
|
||||
assert(row.score >= .4 && row.luma >= 110 && row.luma <= 220);
|
||||
assert(row.score >= (key==='front'?.3:.4) && row.luma >= 110 && row.luma <= 220);
|
||||
assert(Math.abs(row.roll) <= 22);
|
||||
}
|
||||
assert(Math.abs(body.capture_diagnostics.views.front.yaw) <= 18);
|
||||
|
||||
Reference in New Issue
Block a user