Football Table Vision: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
sudo apt-get install libopencv-dev</code> | sudo apt-get install libopencv-dev</code> | ||
<p>This tool runs on both x86 and x86_64 systems, however it is compiled against static libraries from Prosillica. These static libraries have to be specified in the ''Qtvision.pro'' file for x86_64: </p> | <p>This tool runs on both x86 and x86_64 systems, however it is compiled against static libraries from Prosillica. These static libraries have to be specified in the ''Qtvision.pro'' file for x86_64: </p> | ||
<blockquote> | |||
<code>LIBS = -lopencv_core \ <br /> | <code>LIBS = -lopencv_core \ <br /> | ||
-lopencv_highgui \ <br /> | -lopencv_highgui \ <br /> | ||
Line 9: | Line 10: | ||
../src/camera/camera.c \ <br /> | ../src/camera/camera.c \ <br /> | ||
../src/pvapi/staticlib/x64/4.4/libPvAPI.a</code> | ../src/pvapi/staticlib/x64/4.4/libPvAPI.a</code> | ||
</blockquote> | |||
==The Vision GUI== | ==The Vision GUI== |
Revision as of 10:48, 10 September 2013
Building the Vision GUI
In order to build the Vision GUI, you need to install qtcreator and the opencv libraries
sudo apt-get install qtcreator
sudo apt-get install libopencv-dev
This tool runs on both x86 and x86_64 systems, however it is compiled against static libraries from Prosillica. These static libraries have to be specified in the Qtvision.pro file for x86_64:
LIBS = -lopencv_core \
-lopencv_highgui \
...
../src/camera/camera.c \
../src/pvapi/staticlib/x64/4.4/libPvAPI.a
The Vision GUI
To run the vision GUI, you need to have root privileges. After building the vision tool in Qt, the executable should reside in the /Qtvision/bin
folder.