Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
linkhack authored Jul 12, 2023
1 parent b5f4f2a commit d0967c1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ google mediapipe library (https://google.github.io/mediapipe/).

## Installation instructions
Tested with Python 3.10 and PySide6.4.3.
1. Create virtual environment `python venv venv`
2. Activate virtual environment `venv/Scripts/activate`
3. Install packages `pip install -r requirements.txt`
1. Clone repository
2. Create virtual environment `python venv venv`
3. Activate virtual environment `venv/Scripts/activate`
4. Install packages `pip install -r requirements.txt`

## Running Gesture Mouse
- `python gui.py` to start gui
Expand All @@ -21,8 +22,9 @@ Tested with Python 3.10 and PySide6.4.3.
## Creating an exe distribution
To create a distribution folder wich includes all necessery .dll and an executable one can use PyInstaller([https://nuitka.net/](https://pyinstaller.org)).
Instructions:
1. Activate virtual environment `venv/Scripts/activate` on windows and `source venv/bin/activate` on linux
2. Install PyInstaller `pip install pyinstaller`
3. Execute build process with
1. Follow the installation instructions
2. Activate virtual environment `venv/Scripts/activate` on windows and `source venv/bin/activate` on linux
3. Install PyInstaller `pip install pyinstaller`
4. Execute build process with
`pyinstaller gui.py -D --add-data config;config --add-data data;data --collect-all mediapipe` on windows
`pyinstaller gui.py -D --add-data config:config --add-data data:data --collect-all mediapipe` on linux

0 comments on commit d0967c1

Please sign in to comment.