User Tools

Site Tools


educare:opengazer

Differences

This shows you the differences between two versions of the page.


Previous revision
educare:opengazer [2024/04/06 12:10] (current) profpro
Line 1: Line 1:
 + < [[educare:disabili]]
  
 +==== opengazer ====
 +
 +Per controllare il mouse con lo sguardo e la webcam
 +
 +==dipendenze==
 +dipendenze per la compilazione dei sorgenti: libcv-dev libhighgui-dev libcvaux-dev libgtkmm-2.4-dev libcairomm-1.0-dev libboost-dev libboost1.40-dev libvxl14-dev
 +
 +==patch==
 +
 +I tested Opengazer in Ubuntu 10.4 in 2010
 +A friend helped me to compile Opengazer.
 +I have got some error, then he has said me to modify the source files, and I've
 +successfully compiled Opengazer.
 +
 +**Replace in the makefile these rows:**
 +<code>
 +(-) VXLDIR = /opt
 +(+) VXLDIR = /usr/local
 +
 +(-) LINKER = -L$(VXLDIR)/lib -L/usr/local/lib -lm -ldl -lvnl -lmvl
 +-lvnl_algo -lvgl -lvnl_io -lvnl_xio -lgthread-2.0
 +(+) LINKER = -L$(VXLDIR)/lib -L/usr/local/lib -lm -ldl -lmvl -lgthread-2.0
 +
 +(-) g++ $(CPPFLAGS) -o $@ `pkg-config cairomm-1.0 opencv gtkmm-2.4 --libs`
 +$(LINKER) $^
 +(+) g++ $(CPPFLAGS) -o $@ `pkg-config cairomm-1.0 opencv gtkmm-2.4 --libs`
 +$(LINKER) $^ /usr/local/lib/libvnl.a /usr/local/lib/libvnl_algo.a
 +/usr/local/lib/libv3p_netlib.a /usr/local/lib/libvnl.a
 +</code>
 +**Replace this row in the file PointTraker.h:**
 +<code>
 +(-) class TrackingException: public exception {};
 +(+) class TrackingException: public std::exception {};
 +</code>