aboutsummaryrefslogtreecommitdiff
path: root/pdp_opencv_lk.c
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2009-08-29 21:42:31 +0000
committerN.N. <sevyves@users.sourceforge.net>2009-08-29 21:42:31 +0000
commit96223f6ea8fb4d222c21841ed81861973cb4b214 (patch)
tree117c2ec386cd62bbf0f005f2e3cec20f263deca1 /pdp_opencv_lk.c
parenta49c186ec709e7edc3013de538f07e7d36d76266 (diff)
bug fixing
svn path=/trunk/externals/pdp_opencv/; revision=12138
Diffstat (limited to 'pdp_opencv_lk.c')
-rw-r--r--pdp_opencv_lk.c2
1 files changed, 1 insertions, 1 deletions
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]);