#Horus development in Ubuntu
If you are a developer and you want to modify the code, contribute, build packages, etc. you may follow this steps
Download open source Atom code editor.
sudo apt-get install git gitk
Following dependencies are included in deb package, but if you want to install it manually, they are:
sudo apt-get install python-serial python-opengl python-pyglet python-numpy python-scipy python-matplotlib
For older ubuntu versions
sudo apt-get install python-wxgtk2.8
For newer ubuntu versions
sudo apt-get install python-wxgtk3.0
NOTE: first try to remove previous versions of opencv:
sudo apt-get remove python-opencv
sudo apt-get autoremove
sudo add-apt-repository ppa:bqlabs/horus
sudo apt-get update
sudo apt-get install python-opencv
sudo apt-get install avrdude # include libftdi1
sudo apt-get install v4l-utils
In order to generate Debian and Windows packages, some extra dependencies are needed
sudo apt-get install build-essential pkg-config python-dev python-stdeb p7zip-full curl nsis
All source code is available on GitHub. You can download main Horus project by doing:
git clone https://github.com/bq/horus.git
or
git clone git@github.com:bq/horus.git
Several improvements and optimizations have been made in GNU/Linux version of OpenCV libraries. If you want to contribute to this custom version, you can download it from:
git clone https://github.com/bq/opencv.git
or
git clone git@github.com:bq/opencv.git
And build it your own: instructions
In the project directory, execute the command:
./horus
To run the tests install nose:
sudo -H pip install -U nose
And execute:
nosetests test
Horus development comes with a script package.sh. This script generates a final release package. You should not need it during development, unless you are changing the release process. If you want to distribute your own version of Horus, then the package.sh script will allow you to do that.
bash package.sh version # Generate version file
bash package.sh debian # Generate deb package
bash package.sh debian -s # Generate sources
bash package.sh debian -i # Install deb package
bash package.sh debian -u # Upload to launchpad
bash package.sh win32 # Generate exe package
bash package.sh win32 /path # Generate exe using /path for deps