]> git.treefish.org Git - stickletrack.git/blobdiff - stickletrack.cpp
fixed tracking screen mouse-callback.
[stickletrack.git] / stickletrack.cpp
index da812df1dec9a78ea97a7614dec2cab3d98d311b..e872ebd4111d665fa3e78cf58f3c85b293dbc346 100755 (executable)
@@ -397,9 +397,7 @@ int process(VideoCapture& capture) {
   openTanjaLog();
 
   masking_init();
   openTanjaLog();
 
   masking_init();
-  tracking_init();
-
-  cvSetMouseCallback("contours_picture", mouseTracking, 0);
+  tracking_init(&mouseTracking);
 
   capture.set(CV_CAP_PROP_POS_FRAMES, 0);
 
 
   capture.set(CV_CAP_PROP_POS_FRAMES, 0);