소스 검색

update dockerignore and debug option

blakeblackshear 5 년 전
부모
커밋
806acaf445
2개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      .dockerignore
  2. 2 0
      frigate/object_detection.py

+ 6 - 1
.dockerignore

@@ -1 +1,6 @@
-README.md
+README.md
+diagram.png
+.gitignore
+debug
+config/
+*.pyc

+ 2 - 0
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: