mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-03 06:50:58 +00:00
Compare commits
No commits in common. "955b483cf53b416af8afd3f9489b8c6fc82f5613" and "b2bfc80bb85ea16e0ee876eeefb3e0e4d6934dd6" have entirely different histories.
955b483cf5
...
b2bfc80bb8
@ -882,7 +882,7 @@ output_name: "{input_basename}"
|
||||
config:
|
||||
mean_values: [[0, 0, 0]]
|
||||
std_values: [[255, 255, 255]]
|
||||
quant_img_RGB2BGR: true
|
||||
quant_img_rgb2bgr: true
|
||||
```
|
||||
|
||||
Explanation of the paramters:
|
||||
|
||||
@ -4,7 +4,7 @@ from typing import List
|
||||
|
||||
import numpy as np
|
||||
|
||||
from frigate.detectors.detector_config import BaseDetectorConfig, ModelTypeEnum
|
||||
from frigate.detectors.detector_config import ModelTypeEnum
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@ -14,7 +14,7 @@ class DetectionApi(ABC):
|
||||
supported_models: List[ModelTypeEnum]
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self, detector_config: BaseDetectorConfig):
|
||||
def __init__(self, detector_config):
|
||||
self.detector_config = detector_config
|
||||
self.thresh = 0.5
|
||||
self.height = detector_config.model.height
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user