Skip to content

Commit

Permalink
Add instructions for installing dependencies in anaconda (antoinelame#61
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vinesmsuic authored Jul 13, 2021
1 parent 138039f commit 79b160c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,35 @@ _🚀 Quick note: I'm looking for job opportunities as a software developer, for

Clone this project:

```
```shell
git clone https://github.com/antoinelame/GazeTracking.git
```

### For Pip install
Install these dependencies (NumPy, OpenCV, Dlib):

```
```shell
pip install -r requirements.txt
```

> The Dlib library has four primary prerequisites: Boost, Boost.Python, CMake and X11/XQuartx. If you doesn't have them, you can [read this article](https://www.pyimagesearch.com/2017/03/27/how-to-install-dlib/) to know how to easily install them.
Run the demo:

### For Anaconda install
Install these dependencies (NumPy, OpenCV, Dlib):

```shell
conda env create --file environment.yml
#After creating environment, activate it
conda activate GazeTracking
```


### Verify Installation

Run the demo:

```shell
python example.py
```

Expand Down
9 changes: 9 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: GazeTracking
channels:
- conda-forge
- anaconda
- defaults
dependencies:
- numpy == 1.16.1
- opencv == 3.4.*
- dlib == 19.17.*

0 comments on commit 79b160c

Please sign in to comment.