X-Git-Url: http://git.treefish.org/~alex/stickletrack.git/blobdiff_plain/ab5ee4c78e1fa591a4d8d9af812f83a9e81ef6d7..7d30f3a8657e24e100a6264e54c0927475570d2d:/stickletrack.cpp?ds=inline diff --git a/stickletrack.cpp b/stickletrack.cpp index da812df..e872ebd 100755 --- a/stickletrack.cpp +++ b/stickletrack.cpp @@ -397,9 +397,7 @@ int process(VideoCapture& capture) { openTanjaLog(); masking_init(); - tracking_init(); - - cvSetMouseCallback("contours_picture", mouseTracking, 0); + tracking_init(&mouseTracking); capture.set(CV_CAP_PROP_POS_FRAMES, 0);