Installation: Difference between revisions

From Alida
Jump to navigationJump to search
(Created page with "On this page you find install instructions for Alida in C++ and in Java. == C++ == The C++ implementation of Alida currently works only on Linux machines. For installing Alida p...")
 
No edit summary
Line 1: Line 1:
On this page you find install instructions for Alida in C++ and in Java.
On this page you find install instructions for Alida in C++ and in Java.
== Java ==
Coming soon... for the moment please refer to the manual and the README files included in the archives.


== C++ ==
== C++ ==
Line 15: Line 19:
<pre>./ALDOpRunner DemoOperator intval=4711 doubleval=0.999999 floatval=0.123 stringval="Alida-Cpp"</pre>
<pre>./ALDOpRunner DemoOperator intval=4711 doubleval=0.999999 floatval=0.123 stringval="Alida-Cpp"</pre>


=== Optional: include OpenCV demo operator and provider ===
==== Optional: include OpenCV demo operator and provider ====


To activate the OpenCV demo you need to have the OpenCV available on your system. Install instructions can be found [http://opencv.willowgarage.com/wiki/InstallGuide here].<br>
To activate the OpenCV demo you need to have the OpenCV available on your system. Install instructions can be found [http://opencv.willowgarage.com/wiki/InstallGuide here].<br>

Revision as of 18:12, 9 March 2012

On this page you find install instructions for Alida in C++ and in Java.

Java

Coming soon... for the moment please refer to the manual and the README files included in the archives.

C++

The C++ implementation of Alida currently works only on Linux machines. For installing Alida perform the following steps:

  1. Download the tar or zip archive from the Downloads section of this website.
  2. Extract the archive to a directory of your choice which we denote by ALIDA_HOME in the following.
  3. Download Loki, i.e. go to the SourceForge project page and download release 0.1.7 of the Loki library.
  4. Extract the Loki archive to the folder ALIDA_HOME/external.
    Alternatively you can extract it somewhere else and set a link to that directory in ALIDA_HOME/external.
  5. Define an environment variable 'ALIDA_CPP' with the path of your Alida installation, i.e. the path of ALIDA_HOME.
  6. Enter the directory ALIDA_HOME/src and type 'make'.
  7. You will find a demo operator in ALIDA_HOME/src/demo/o.<your-machine>.
    Enter the directory and run the demo operator with
./ALDOpRunner DemoOperator intval=4711 doubleval=0.999999 floatval=0.123 stringval="Alida-Cpp"

Optional: include OpenCV demo operator and provider

To activate the OpenCV demo you need to have the OpenCV available on your system. Install instructions can be found here.
To build the OpenCV related classes of Alida edit the configuration file ALIDA_HOME/src/config.mk.
On top of the file you find a configuration section which defines three variables:

#############################################################################
# user-specific configuration
#############################################################################

OPENCV_SUPPORT = no
OPENCV_INCLUDE = /usr/include
OPENCV_LIB = /usr/lib

Change the value of OPENCV_SUPPORT to 'yes' and set include and library path variables according to your OpenCV installation.
Afterwards rebuild Alida by running 'make clean all'. The OpenCV demo operator can be run with

./ALDOpRunner DemoOperatorOpenCV inputImg=<example_image> sigma=151