1
0

Add instructions about creating a virtual enviroment and update dependencies auto-installer script (#16)

* Add instructions about prereq and dependency

* Add virtualenv dependency
This commit is contained in:
Erick
2022-08-10 12:25:05 +02:00
committed by GitHub
parent e5b58fc22f
commit 6aeca8fbe9
2 changed files with 14 additions and 0 deletions
+13
View File
@@ -1,2 +1,15 @@
# vision-engine-layer-1
Enviroment for the object recognition engine based on Google Cloud Vision
## Dependencies
To run the script you will need to install a few dependencies.
First update your system using your favorite package manager, then run the script ./prerequisites.py to automatically install or update all the needed packages.
You still need to have python and pip installed and updated.
If you need to add new prerequisites, it is preferable to add them as a pip packages.
## Prerequisites
You will need to create a Python virtual enviroment for each enviroment folder in the repo, using:
```bash
virtualenv ENVIROMENT-NAME
```
+1
View File
@@ -1,6 +1,7 @@
import os
# List of prerequisite packages needed
os.system("pip install virtualenv")
os.system("python -m pip install --upgrade pip")
os.system("pip install numpy")
os.system("pip install opencv-python")