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: | ||
+ | ==== 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:** | ||
+ | < | ||
+ | (-) VXLDIR = /opt | ||
+ | (+) VXLDIR = /usr/local | ||
+ | |||
+ | (-) LINKER = -L$(VXLDIR)/ | ||
+ | -lvnl_algo -lvgl -lvnl_io -lvnl_xio -lgthread-2.0 | ||
+ | (+) LINKER = -L$(VXLDIR)/ | ||
+ | |||
+ | (-) 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) $^ / | ||
+ | / | ||
+ | </ | ||
+ | **Replace this row in the file PointTraker.h: | ||
+ | < | ||
+ | (-) class TrackingException: | ||
+ | (+) class TrackingException: | ||
+ | </ |