Ongoing...
-
Install UV Python Package Manager (Windows):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" -
Clone the repository:
git clone https://github.com/Solomon-77/opti-face.git --depth=1
-
Navigate to the project directory and run in terminal:
uv sync
-
Add the models in
src/backend/checkpointsdirectory | Download Models Here -
Run the program:
uv run app.py
-
Install PyInstaller:
uv add pyinstaller -
Navigate to project directory and enter the command:
.venv/Scripts/activate -
Run this command:
pyinstaller app.specor
pyinstaller --noconfirm --onedir --windowed --add-data "src/backend/checkpoints;src/backend/checkpoints" --add-data "src/gui/icons;src/gui/icons" --collect-data mediapipe app.py