A virtual closet program was created that superimposes graphics of clothing pieces on a person in AR in real time.
The program contains following: the system folder (.git, .idea, pycache) and the utils and images. The images folder contains the subfolders astronaut, skeleton, and jacket, which store appropriately cropped images of the clothes used in the project. In addition, the images folder contains a backgrounds subfolder, which contains backgrounds in .png and .gif formats, which were used in the project. The utils folder contains the scripts app.py, background.py, and image.py. In addition, the root folder contains the scripts base.py and fashion_GUI_3.py.
The following libraries were used in the project:
- MediaPipe,
- OpenCV,
- tkinter,
- Pillow,
- Numpy,
- Matplotlib.
In order to run the program, it is necessary to run the fashion_gui_3 script, which is the main script.
Below you can see the Menu view of the app: