Installing from Source Code¶
Hutts Verification can also be installed completely from the source code available at https://github.com/javaTheHutts/Java-the-Hutts
NOTE: This installation may take anything from 30 minutes to 3 hours, depending on which requirements have already been installed on the user’s computer.
Install OpenCV 3.2.0, Python3 and all virtual environments as explained here. Please note that the version in the tutorial is different from the required version (3.2.0).
Clone the repository for the source code with
git clone https://github.com/javaTheHutts/Java-the-Hutts.git
Run the following commands after the successful installation and linking of OpenCV to your virtual environment:
sudo apt-get install -y libzbar0 libzbar-dev libboost-all-dev tesseract-ocr
Run the following commands while your OpenCV virtual environment is activated (this installs all the dependencies of the project):
pip3 install pybuilder pip3 install pyzbar==0.1.4 pyzbar[scripts] zbar-py==1.0.4 pip3 install -r requirements.txt pyb install_dependencies
Install the project with the following commands:
pyb analyze full publish cd target/dist/Java-the-Hutts-1.0.dev0/ python3 setup.py install
In order to test whether the installation was successful, the user should be able to execute the
import hutts_verification
statement in any Python 3 shell without error.