diff --git a/Restaurant/main.py b/Restaurant/main.py index f924801..dd91d4c 100644 --- a/Restaurant/main.py +++ b/Restaurant/main.py @@ -537,7 +537,7 @@ def redrawWindow(surface): surface.blit(image, (puddles[i][0] * sizeBetween + 1, puddles[i][1] * sizeBetween + 1)) drawGrid(width, rows, surface) - button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, beige, white) + button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, light_beige, white) pygame.display.update() @@ -581,9 +581,10 @@ def makeImgClassificator(model): metrics=['accuracy']) def main(): - global width, rows, bot, beige, white, black, sizeBetween, tables, kitchen, cantwalk, puddles, window, clock, \ + global width, rows, bot, light_beige, beige, white, black, sizeBetween, tables, kitchen, cantwalk, puddles, window, clock, \ img_classify # skróty do kolorów + light_beige = (255, 240, 205) beige = (255, 205, 178) white = (255, 255, 255) black = (0, 0, 0) @@ -632,7 +633,7 @@ def main(): if event.type == pygame.QUIT: pygame.quit() quit() - button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, beige, white, classify) + button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, light_beige, white, classify) redrawWindow(window) #bot.moveRandomly() #goal = (1, 3)