fix(camera): remove post-capture photo revalidation
This commit is contained in:
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user