mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
CameraTracker formatting
This commit is contained in:
parent
42103ebfb5
commit
f90172c2db
@ -391,14 +391,13 @@ class CameraTracker(util.Process):
|
|||||||
requestor.stop()
|
requestor.stop()
|
||||||
config_subscriber.stop()
|
config_subscriber.stop()
|
||||||
|
|
||||||
# empty the frame queue
|
# Empty the frame queue
|
||||||
self.logger.info(f"{self.name}: emptying frame queue")
|
self.logger.info("Emptying frame queue")
|
||||||
frame_queue = self.camera_metrics.frame_queue
|
while not self.camera_metrics.frame_queue.empty():
|
||||||
while not frame_queue.empty():
|
frame_time = self.camera_metrics.frame_queue.get(False)
|
||||||
frame_time = frame_queue.get(False)
|
|
||||||
frame_manager.delete(f"{self.name}{frame_time}")
|
frame_manager.delete(f"{self.name}{frame_time}")
|
||||||
|
|
||||||
self.logger.info(f"{self.name}: exiting subprocess")
|
self.logger.info("Exiting the camera tracker")
|
||||||
|
|
||||||
def detect(
|
def detect(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user