From 806acaf44588a0c32ac811b90ea3e616181487c1 Mon Sep 17 00:00:00 2001 From: blakeblackshear Date: Fri, 12 Jul 2019 20:56:37 -0500 Subject: [PATCH] update dockerignore and debug option --- .dockerignore | 7 ++++++- frigate/object_detection.py | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 42061c01a..d77da2b48 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,6 @@ -README.md \ No newline at end of file +README.md +diagram.png +.gitignore +debug +config/ +*.pyc \ No newline at end of file diff --git a/frigate/object_detection.py b/frigate/object_detection.py index 008334541..9006f4179 100644 --- a/frigate/object_detection.py +++ b/frigate/object_detection.py @@ -39,6 +39,8 @@ class PreppedQueueProcessor(threading.Thread): # Actual detection. objects = self.engine.DetectWithInputTensor(frame['frame'], threshold=frame['region_threshold'], top_k=3) + # print(self.engine.get_inference_time()) + # parse and pass detected objects back to the camera parsed_objects = [] for obj in objects: