dataset for project presentation (#35) from wozek_works_in_a_loop into master

Reviewed-on: #35
This commit is contained in:
Wojciech Medenecki 2023-06-19 12:15:44 +02:00
commit ad0e642964
5 changed files with 8 additions and 5 deletions

BIN
images/Items_test/test5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/Items_test/test6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
images/Items_test/test7.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
images/Items_test/test8.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

13
main.py
View File

@ -132,13 +132,16 @@ def wozek_serves_orders(wozek, grid_points, drzewo):
def add_another_order(ekran, pred_list): def add_another_order(ekran, pred_list):
if random.random() < 0.5: if random.random() < 0.5:
if random.random() < 0.5: if random.random() < 0.5:
order = Paczka('duzy', 12, 'narzedzia', False, True, False, order = Paczka('duzy', 12, 'motoryzacja', False, True, False,
any, any, any, any, any, pred_list[3]) any, any, any, any, any, pred_list[6])
else: else:
order = Paczka('maly', 1, 'ogród', False, True, False, order = Paczka('maly', 1, 'kuchnia', False, True, False,
any, any, any, any, any, pred_list[1]) any, any, any, any, any, pred_list[7])
else: else:
order = Letter(pred_list[2]) if random.random() < 0.5:
order = Letter(pred_list[5])
else:
order = Letter(pred_list[4])
ekran.dodaj_na_rampe_jedno(order) ekran.dodaj_na_rampe_jedno(order)