Write this software
You will need to install :
apt-get install imagemagick hugin
You also need to have a DirectoryManager server and an OPV_DBRest server running. These server handle campaings, lot ... data storing.
You also need to have the Hugin Script Interface python module. It should be install by default with hugin but migth by install for the wrong version of python. To check it (outside your venv) :
$ python3.5
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hsi
If you don't have it ... dam you are about to recompile hugin ! To wrap your HSI in the good python version, follow the instructions here.
If you have it installed on your system, you need to add it to your python virtual env, the easiest way to do so his to make a symbolic link from your system dist-packages/hsi.py module to venv dist-packages. Follow this :
(global) $ python3.5 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))" # get you global dist-package path
/usr/lib/python3/dist-packages
(venv) $ python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))" # get you venv dist-package path
/home/benjamin/Documents/OpenPathView/code/OPV_Tasks/.venv/OPV_Tasks/lib/python3.5/site-packages
(vent) $ ln -s /usr/lib/python3/dist-packages/hsi.py /home/benjamin/Documents/OpenPathView/code/OPV_Tasks/.venv/OPV_Tasks/lib/python3.5/site-packages/ # make symbolic link
(vent) $ ln -s /usr/lib/python3/dist-packages/_hsi.so /home/benjamin/Documents/OpenPathView/code/OPV_Tasks/.venv/OPV_Tasks/lib/python3.5/site-packages/ # make symbolic link
pip install -r requirements.txt
python setup.py install
Will rotate a lot (it's 6 pictures) in portrait mode.
bin/opv-task-rotate 53 --debug
Copyright (C) 2017 Open Path View, Maison Du Libre
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program. If not, see http://www.gnu.org/licenses/.