mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-25 23:48:58 +03:00
Refactor detector and model management (#23995)
* Refactor detector and model management * Fix model resolution field
This commit is contained in:
committed by
Josh Hawkins
parent
7b42d94bfe
commit
5c9c02002f
@@ -122,7 +122,7 @@ class ProcessClip:
|
||||
self.camera_name,
|
||||
self.frame_queue,
|
||||
self.frame_shape,
|
||||
self.config.model,
|
||||
self.config.model_for_camera(self.camera_name),
|
||||
self.camera_config.detect,
|
||||
self.frame_manager,
|
||||
motion_detector,
|
||||
@@ -248,7 +248,7 @@ def process(path, label, output, debug_path):
|
||||
|
||||
json_config = {
|
||||
"mqtt": {"enabled": False},
|
||||
"detectors": {"coral": {"type": "edgetpu", "device": "usb"}},
|
||||
"models": [{"devices": ["edgetpu:usb"]}],
|
||||
"cameras": {
|
||||
"camera": {
|
||||
"ffmpeg": {
|
||||
|
||||
Reference in New Issue
Block a user