fix(camera): remove post-capture photo revalidation

This commit is contained in:
xsl
2026-10-16 16:01:25 +08:00
parent 6a628f837b
commit 5e07985b19
9 changed files with 54 additions and 67 deletions
+1
View File
@@ -13,6 +13,7 @@ function normalize(input) {
const row = input.views && input.views[key];
if (!row || typeof row !== 'object') continue;
const out = { mode: ['live', 'file', 'unchecked', 'mock'].includes(row.mode) ? row.mode : 'unknown' };
if (['preview', 'none'].includes(row.check_stage)) out.check_stage = row.check_stage;
if (row.reason === 'model-unavailable') out.reason = row.reason;
if (typeof row.direction_checked === 'boolean') out.direction_checked = row.direction_checked;
for (const metric of ['yaw', 'pitch', 'roll', 'score', 'luma', 'ratio', 'center_x', 'center_y']) {