forked from Github/frigate
revamp dockerfile
This commit is contained in:
@@ -32,7 +32,7 @@ class PreppedQueueProcessor(threading.Thread):
|
||||
frame = self.prepped_frame_queue.get()
|
||||
|
||||
# Actual detection.
|
||||
frame['detected_objects'] = self.engine.DetectWithInputTensor(frame['frame'], threshold=0.2, top_k=5)
|
||||
frame['detected_objects'] = self.engine.detect_with_input_tensor(frame['frame'], threshold=0.2, top_k=5)
|
||||
self.fps.update()
|
||||
self.avg_inference_speed = (self.avg_inference_speed*9 + self.engine.get_inference_time())/10
|
||||
|
||||
|
||||
@@ -152,8 +152,6 @@ class RegionRefiner(threading.Thread):
|
||||
})
|
||||
self.camera.dynamic_region_fps.update()
|
||||
look_again = True
|
||||
# TODO: zoom in on unclipped low confidence objects
|
||||
# else: ...
|
||||
|
||||
# if we are looking again, then this frame is not ready for processing
|
||||
if look_again:
|
||||
|
||||
Reference in New Issue
Block a user