1
0
mirror of https://github.com/blakeblackshear/frigate.git synced 2025-03-04 00:17:22 +01:00
blakeblackshear.frigate/frigate/detectors/detection_api.py

17 lines
283 B
Python
Raw Normal View History

import logging
from abc import ABC, abstractmethod
logger = logging.getLogger(__name__)
class DetectionApi(ABC):
type_key: str
@abstractmethod
def __init__(self, detector_config):
pass
@abstractmethod
def detect_raw(self, tensor_input):
pass