mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-16 02:17:46 +01:00
Various fixes (#20655)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user