Find a directory on your pc and git clone https://github.com/UWARG/computer-vision-python or https://github.com/UWARG/IMACS depending on which project you want to work on (make sure you config your git first)
to clone git submodules run command
git submodule update --init --recursive
andgit submodule update --remote
Download Python 3.8.10 (keeping only one version of python will make your life so much easier)
Create a virtual environment by first calling
pip install virtualenv
Open Computer Vision Python or IMACS folder in vscode and in the terminal, type
virtualenv cvPython
where cvPython is the virtual environment name. (you can also typevirtualenv -p python3 cvPython
if you want to make sure it's python3)Now a virtualenv called cvPython is created. If you have windows, do
.\cvPython\Scripts\Activate.ps1
(in case your systems saysExecution of script is not available
, open Powershell with run as Admin and typepowershell Set-ExecutionPolicy RemoteSigned
). If you have Mac/Linux, you can just dosource ./cvPython/bin/activate
You will then see a (cvPython) in front of your command line, this means you are in the virtual environment
Now
pip install -r requirements.txt
will install everything you need
General
Content
Integrations