-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
**Make sure to use the correct branch when working on this project (e.g. ml branch for ml stuff and flutter for flutter stuff)
**Note: these instructions work for python 3.10.x. Other python versions may work, but there is no guarantee
brew install cmake
Installing cmake varies by distribution, but some common examples are provided below. You may need to install additional packages in order for cmake to be able to compile dlib.
Debian-based distributions (Debian, Ubuntu, Mint, etc)
sudo apt-get install cmake
RHEL-based distributions (Fedora, CentOS, etc)
sudo dnf install cmake
If you get compile errors while installing dlib, you may have to do troubleshooting on your own, a s there could be a multitude of issues, depending on your distribution
Download cmake at cmake.org/downloads. Make sure to add cmake to your PATH in the installer.
Download Visual Studio C++ Build Tools here
Additionally, make sure to download cmake's python library
pip install cmake
If dlib fails to compile with the above steps, you will need to download a precompiled version of dlib from here, and then install the other requirements, excluding dlib
conda create -n payface_env python=3.10
conda activate payface_env
pip install -r requirements.txt
python main.py
If all goes well, you should see a graphical popup with the visual output of your camera.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.