1
0
forked from s444417/ProjektAI

added raport and jupyter notebook file. Sleep after passing orders

This commit is contained in:
= 2020-05-18 09:49:24 +02:00
parent 1be0ecff48
commit 6dbec012a7
3 changed files with 1409 additions and 0 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -131,6 +131,7 @@ class WaiterManager(threading.Thread):
for img_path in paths: for img_path in paths:
predicted_dish = image_predictor.predict_class(img_path) predicted_dish = image_predictor.predict_class(img_path)
predicted_dishes.append(predicted_dish) predicted_dishes.append(predicted_dish)
time.sleep(2)
self.__drawableManager.forceRepaint() self.__drawableManager.forceRepaint()
return predicted_dishes return predicted_dishes