diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-08-29 21:42:31 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-08-29 21:42:31 +0000 |
commit | 96223f6ea8fb4d222c21841ed81861973cb4b214 (patch) | |
tree | 117c2ec386cd62bbf0f005f2e3cec20f263deca1 | |
parent | a49c186ec709e7edc3013de538f07e7d36d76266 (diff) |
bug fixing
svn path=/trunk/externals/pdp_opencv/; revision=12138
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | pdp_opencv_lk.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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]); |