How to build and run:
-
Install the web application (ServR) by following the instructions at http://cs.helsinki.fi/u/phedman/ServR.zip
-
Build OpenCV from source using cmake: i) Install cmake ii) Clone the OpenCV source code: $ cd [OPENCV-PROJECT-DIRECTORY] $ git clone https://github.com/Itseez/opencv.git iii) Checkout the 2.4 branch $ git checkout 2.4 iv) Build and install OpenCV using the the instructions at: http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html
-
Install the following packages: build-essential, libmysql++3, libmysql++-dev
-
Define the required environment variables $ export WEB_ROOT="[PATH-TO-SERVR-FOLDER]/www"
-
Compile and run the project: $ cd [BackR-DIRECTORY] $ make release $ ./release/BackR DB_USERNAME DB_PASSWORD
Note: This has only been tested on Ubuntu 12.04.3 LTS 64 bit.