forked from s444417/ProjektAI
added raport and jupyter notebook file. Sleep after passing orders
This commit is contained in:
parent
1be0ecff48
commit
6dbec012a7
BIN
Raport - Podprojekt_Adam_Wojdyla.pdf
Normal file
BIN
Raport - Podprojekt_Adam_Wojdyla.pdf
Normal file
Binary file not shown.
1408
kelner/src/algorithms/CNN/CNNFood.ipynb
Normal file
1408
kelner/src/algorithms/CNN/CNNFood.ipynb
Normal file
File diff suppressed because one or more lines are too long
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user