mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-31 13:48:19 +02:00
Add width and height to display
This commit is contained in:
parent
9b45a54a8b
commit
c9eb01c4cd
@ -331,11 +331,15 @@ export default function FrigatePlusSettingsView({
|
|||||||
<SelectTrigger>
|
<SelectTrigger>
|
||||||
{frigatePlusSettings.model.id &&
|
{frigatePlusSettings.model.id &&
|
||||||
availableModels?.[frigatePlusSettings.model.id]
|
availableModels?.[frigatePlusSettings.model.id]
|
||||||
? new Date(
|
? (new Date(
|
||||||
availableModels[
|
availableModels[
|
||||||
frigatePlusSettings.model.id
|
frigatePlusSettings.model.id
|
||||||
].trainDate,
|
].trainDate,
|
||||||
).toLocaleString()
|
).toLocaleString() + " (" + availableModels[
|
||||||
|
frigatePlusSettings.model.id
|
||||||
|
].width + "x" + availableModels[
|
||||||
|
frigatePlusSettings.model.id
|
||||||
|
].height) + ")
|
||||||
: "Retrieving models..."}
|
: "Retrieving models..."}
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
@ -359,8 +363,10 @@ export default function FrigatePlusSettingsView({
|
|||||||
).toLocaleString()}{" "}
|
).toLocaleString()}{" "}
|
||||||
({model.baseModel})
|
({model.baseModel})
|
||||||
<div>
|
<div>
|
||||||
Supported Detectors: ({model.supportedDetectors.join(", ")}) Dimensions (
|
Supported Detectors: ({model.supportedDetectors.join(", ")})
|
||||||
{model.width + "x" + model.height})
|
</div>
|
||||||
|
<div>
|
||||||
|
Dimensions ({model.width + "x" + model.height})
|
||||||
</div>
|
</div>
|
||||||
<div className="text-xs text-muted-foreground">
|
<div className="text-xs text-muted-foreground">
|
||||||
{id}
|
{id}
|
||||||
|
Loading…
Reference in New Issue
Block a user