You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
369 B

import utils.meta
from analytic_types import ModelCache
@utils.meta.JSONClass
class DetectionResult:
def __init__(
self,
cache: ModelCache = ModelCache(),
segments: list = [],
last_detection_time: int = None
):
self.cache = cache
self.segments = segments
self.last_detection_time = last_detection_time