Various fixes (#20655)
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions

This commit is contained in:
Nicolas Mowen
2025-10-24 16:38:35 -05:00
committed by GitHub
parent eb51eb3c9d
commit 83fa651ada
2 changed files with 5 additions and 3 deletions
@@ -214,7 +214,9 @@ export function GroupedClassificationCard({
});
if (!best) {
return group.at(-1);
// select an item from the middle of the time series as this usually correlates
// to a more representative image than the first or last
return group.at(Math.floor(group.length / 2));
}
const bestTyped: ClassificationItemData = best;