Find the optimal cameras' placement inside a given polygon using simmulated annealing algorithm.
sudo apt install virtualenv virtualenvwrapper
- add to ~/.bashrc:
export WORKON_HOME=~/projects/VIRTUALENVS
- restart console
- inside virtualenv install packages:
pip3 install -r pip.requirements
mkvirtualenv <name> --python=/usr/bin/python3.5
- creates new env and enables it
workon <name>
- enable existing env
deactivate
- leave env
workon cameras
python main.py
usr/bin/time python main.py -F config.json
python -m unittest discover
brew install python3
pyvenv cameras
source cameras/bin/activate