mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
retain frame data for recording maintenance
This commit is contained in:
parent
ca68a06d20
commit
52d9a680f5
@ -880,6 +880,17 @@ class TrackedObjectProcessor(threading.Thread):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# send info on this frame to the recordings maintainer
|
||||||
|
self.recordings_info_queue.put(
|
||||||
|
(
|
||||||
|
camera,
|
||||||
|
frame_time,
|
||||||
|
current_tracked_objects,
|
||||||
|
motion_boxes,
|
||||||
|
regions,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
# update zone counts for each label
|
# update zone counts for each label
|
||||||
# for each zone in the current camera
|
# for each zone in the current camera
|
||||||
for zone in self.config.cameras[camera].zones.keys():
|
for zone in self.config.cameras[camera].zones.keys():
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
import datetime
|
import datetime
|
||||||
import time
|
|
||||||
import itertools
|
import itertools
|
||||||
import logging
|
import logging
|
||||||
import multiprocessing as mp
|
import multiprocessing as mp
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user