Skip to content

Repository files navigation

This is a test project

1. install python3.11, Vscode and pip.
2. clone the repository from https://github.com/kriea/FoodLensAR.git
3. after opening in vscode, open integrated terminal and set Up Virtual Environment(Optional) with 
    >python3 -m venv venv
    This command creates a virtual environment named "venv" in your project folder.
4. Activate Virtual Environment:
    >.\venv\Scripts\activate (Windows)
    >source venv/bin/activate (linux/mac)
5. Install Dependencies(Stored in requirements.txt)
    >pip install -r requirements.txt

How to save requirements as txt file 
1. activate virtual environment if needed
2. run >pip install pipreqs
3. run >pipreqs
the requirements.txt should be saved in directory


How to make GUI with drag and drop
1. use qt designer
2. idk man, need to figure out
3. abc.ui file is generated by qt designer, which can be pasted in directory
4. this abc.ui file can be converted to python code by
    >pyuic5 abc.ui -o generated_python_file.py
5. after converting, can be imported to code(look at my_main_window.py)
6. ask gpt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages