mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-28 02:11:40 +00:00
Support selecting Object Detection models (#1359)
This PR is for part 1 of #1354. It focuses on adding a model selection interface for models that exist in `photonvision_config/models/`. Upon completion we can ship more than 1 model and users could upload their own through `ssh` without deleting the shipped model. This PR also adds the abstractions need to support more DNN backends (say OpenCV, or RPI AI Kit) Up next is adding a CRUD interface for managing models through the UI.
This commit is contained in:
committed by
GitHub
parent
24fb6af5f4
commit
27cb69c094
@@ -28,7 +28,8 @@ export const useSettingsStore = defineStore("settings", {
|
||||
hardwareModel: undefined,
|
||||
hardwarePlatform: undefined,
|
||||
mrCalWorking: true,
|
||||
rknnSupported: false
|
||||
availableModels: {},
|
||||
supportedBackends: []
|
||||
},
|
||||
network: {
|
||||
ntServerAddress: "",
|
||||
@@ -105,7 +106,8 @@ export const useSettingsStore = defineStore("settings", {
|
||||
hardwarePlatform: data.general.hardwarePlatform || undefined,
|
||||
gpuAcceleration: data.general.gpuAcceleration || undefined,
|
||||
mrCalWorking: data.general.mrCalWorking,
|
||||
rknnSupported: data.general.rknnSupported
|
||||
availableModels: data.general.availableModels || undefined,
|
||||
supportedBackends: data.general.supportedBackends || []
|
||||
};
|
||||
this.lighting = data.lighting;
|
||||
this.network = data.networkSettings;
|
||||
|
||||
Reference in New Issue
Block a user