Question: Restaurant Application ( Python Programming ) : In a restaurant there are 4 different food groups ( starters , snacks, main course, desserts ) and

Restaurant Application (Python Programming):
In a restaurant there are 4 different food groups (starters, snacks, main course, desserts) and you need to create dishes in different colors for these four groups in the menu. There are also three different options for each food group.
For example;
Starters Soup-Cheese Platter-Garlic Bread
Snacks: Crispy Chicken-FishChips-Omlet
Main Course Meatballs-Casseroles-Fajitas
Desserts: Souffle- Tiramisu- Cheesecake
The customer chooses the menu for the meal they want to order by selecting the objects on their table in four different colors and three different models of each color. Each color represents a food group.
Each color also contains objects in three different shapes. Each object matches a dish in its group.
You should have a menu of 12 items in total.
Each group is free to choose its own color and objects.
You can choose these objects from any material (sponge, cardboard, plastic, etc.)
Things to watch out for;
The customer cannot choose more than one object of the same color when choosing their food, if happened, the program warning message prints; "only one of the same color object you can select"
He/she has to choose at least one main course and one starter to create the menu.
If only one meal selected, program warning to choose more
The customer can place the objects on top of each other or next to each other.
The colors do not have to be in a specific sequence or order.
For every color and every shape in the menu, there must be a corresponding dish and price.
After taking a picture and reading the picture with cv2.imread("yourorder.png",0) in the program, it should understand the ordered dishes and ask the customer "Your order is ....., do you confirm?".
After the customer confirms, your food is prepared and finally, the total amount you have to pay: "..... TL" at the end of the calculation.
For this calculation, you need to set up a structure in the program where you define the color-shape-price information for each dish.
You are expected to use this structure in your class definitions.
You should definitely include object oriented programming and image processing with opencv in the application.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!