diff options
-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]); |