From bac84033bd5236cd16e5fd2554cf4206848bc275 Mon Sep 17 00:00:00 2001 From: caliskan Date: Fri, 31 Mar 2023 10:38:08 +0200 Subject: [PATCH] project structure push --- idea.txt | 7 +++++++ requirements.txt | 0 src_folder/Object-Detection/detect.py | 0 src_folder/UI_and_DB/database.py | 0 src_folder/UI_and_DB/ui.py | 18 ++++++++++++++++++ 5 files changed, 25 insertions(+) create mode 100644 idea.txt create mode 100644 requirements.txt create mode 100644 src_folder/Object-Detection/detect.py create mode 100644 src_folder/UI_and_DB/database.py create mode 100644 src_folder/UI_and_DB/ui.py diff --git a/idea.txt b/idea.txt new file mode 100644 index 0000000..37ab66c --- /dev/null +++ b/idea.txt @@ -0,0 +1,7 @@ +create a userinterface, on which the answers for the questions are displayed +create a data base to store questions and possible answers +create a module to detect colors and position of a image, which will be shooted by a camera connected to the computer +we must determine and provide area in which the answer options are defined (tape on ground) -> Boden abkleben + +tasks: +- get camera diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/src_folder/Object-Detection/detect.py b/src_folder/Object-Detection/detect.py new file mode 100644 index 0000000..e69de29 diff --git a/src_folder/UI_and_DB/database.py b/src_folder/UI_and_DB/database.py new file mode 100644 index 0000000..e69de29 diff --git a/src_folder/UI_and_DB/ui.py b/src_folder/UI_and_DB/ui.py new file mode 100644 index 0000000..d8a1ba4 --- /dev/null +++ b/src_folder/UI_and_DB/ui.py @@ -0,0 +1,18 @@ +import tkinter as tk + +def button_callback(): + print("Button was clicked") + +# Create the main window +window = tk.Tk() + +# Add a label to the window +label = tk.Label(text="Hello, World!") +label.pack() + +# Add a button to the window +button = tk.Button(text="Click me!", command=button_callback) +button.pack() + +# Run the main loop to display the window +window.mainloop()