add back flask endpoints

This commit is contained in:
blakeblackshear
2019-03-29 21:02:40 -05:00
parent 0279121d77
commit edf0cd36df
3 changed files with 58 additions and 50 deletions

View File

@@ -41,7 +41,7 @@ class PreppedQueueProcessor(threading.Thread):
objects = self.engine.DetectWithInputTensor(frame['frame'], threshold=0.5, top_k=3)
# time.sleep(0.1)
# objects = []
print(self.engine.get_inference_time())
# print(self.engine.get_inference_time())
# put detected objects in the queue
parsed_objects = []
for obj in objects: