forked from Github/frigate
Modernizing Typing
All Dict, List were converted to dict, list, see: https://mypy.readthedocs.io/en/stable/builtin_types.html#generic-types
This commit is contained in:
committed by
Blake Blackshear
parent
a1afade9ba
commit
ebf4e43ced
@@ -9,7 +9,6 @@ import subprocess as sp
|
||||
import threading
|
||||
import time
|
||||
from collections import defaultdict
|
||||
from typing import Dict, List
|
||||
|
||||
import numpy as np
|
||||
from cv2 import cv2, reduce
|
||||
@@ -476,8 +475,8 @@ def process_frames(
|
||||
object_detector: RemoteObjectDetector,
|
||||
object_tracker: ObjectTracker,
|
||||
detected_objects_queue: mp.Queue,
|
||||
process_info: Dict,
|
||||
objects_to_track: List[str],
|
||||
process_info: dict,
|
||||
objects_to_track: list[str],
|
||||
object_filters,
|
||||
detection_enabled: mp.Value,
|
||||
stop_event,
|
||||
|
||||
Reference in New Issue
Block a user