Set more types

This commit is contained in:
Nicolas Mowen 2024-11-17 08:38:42 -07:00
parent 6a69b4cbfd
commit e83090dae8

View File

@ -95,7 +95,7 @@ def capture_frames(
config: CameraConfig, config: CameraConfig,
shm_frame_count: int, shm_frame_count: int,
frame_index: int, frame_index: int,
frame_shape, frame_shape: tuple[int, int],
frame_manager: FrameManager, frame_manager: FrameManager,
frame_queue, frame_queue,
fps: mp.Value, fps: mp.Value,
@ -154,7 +154,7 @@ class CameraWatchdog(threading.Thread):
camera_name, camera_name,
config: CameraConfig, config: CameraConfig,
shm_frame_count: int, shm_frame_count: int,
frame_queue, frame_queue: mp.Queue,
camera_fps, camera_fps,
skipped_fps, skipped_fps,
ffmpeg_pid, ffmpeg_pid,
@ -341,8 +341,8 @@ class CameraCapture(threading.Thread):
shm_frame_count: int, shm_frame_count: int,
frame_index: int, frame_index: int,
ffmpeg_process, ffmpeg_process,
frame_shape, frame_shape: tuple[int, int],
frame_queue, frame_queue: mp.Queue,
fps, fps,
skipped_fps, skipped_fps,
stop_event, stop_event,