The Wave application, a graphical user interface (GUI) program built using Python. The Wave application provides functionality related to computer vision, webcam control, and menu settings.
wave_demo.1.mp4
Before running the Wave application, ensure you have the dependencies as specified in the requirements.txt
file
To install the required dependencies, you can use the following command:
pip install -r requirements.txt
Make sure you have pip installed before running the above command.
To use the Wave application, follow these steps:
-
Import the required modules:
import customtkinter as ctk from appsettings import * from menu import Menu from vid_nd_control import WebCamView from appsettings import *
-
Create an instance of the
App
class:if __name__ == '__main__': App()
-
Run the application.
The App
class is the main class of the Wave application. It inherits from customtkinter.CTk
and initializes the GUI, layout, and various settings.
- Initializes
customtkinter.CTk
settings. - Sets the window size and title.
- Configures the layout of the application.
- Configures the layout using the
columnconfigure
androwconfigure
methods.
- Initializes and sets up the
WebCamView
class for computer vision and webcam control.
- Initializes and sets up the
Menu
class for handling menu settings.
- Runs the main event loop using
self.mainloop()
.
- Initializes Tkinter variables for video control, hand landmark recognition, PC control, and mouse smoothness.
- Initializes Tkinter variables for the application.