From 96223f6ea8fb4d222c21841ed81861973cb4b214 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 29 Aug 2009 21:42:31 +0000 Subject: bug fixing svn path=/trunk/externals/pdp_opencv/; revision=12138 --- INSTALL | 2 +- pdp_opencv_lk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index 02e8297..97ff3a7 100644 --- a/INSTALL +++ b/INSTALL @@ -10,7 +10,7 @@ apt-get install libcvaux-dev apt-get install libhighgui-dev then get the _SOURCES_ of the pd you are using -and of the GEM or PDP that you are loading +and of the PDP that you are loading ( it might not work if the version is different ) diff --git a/pdp_opencv_lk.c b/pdp_opencv_lk.c index 915de71..6f08444 100644 --- a/pdp_opencv_lk.c +++ b/pdp_opencv_lk.c @@ -259,7 +259,7 @@ static void pdp_opencv_lk_process_rgb(t_pdp_opencv_lk *x) cvPutText( x->image, tindex, cvPointFrom32f(x->points[1][i]), &x->font, CV_RGB(255,255,255)); x->x_xmark[im]=x->points[1][i].x; x->x_ymark[im]=x->points[1][i].y; - x->x_found[im]++; + x->x_found[im]=x->x_ftolerance; marked=1; SETFLOAT(&x->x_list[0], im+1); SETFLOAT(&x->x_list[1], x->x_xmark[im]); -- cgit v1.2.1