where is body/Code block of functions ? [closed]

asked 2014-05-29 03:01:11 -0600

amitanvir gravatar image

updated 2014-05-29 03:18:02 -0600

berak gravatar image

Hi, I am using these functions,

m_pBlobTracker = cvCreateBlobTrackerMSFG();

m_pFGDetector = cvCreateFGDetectorBase(CV_BG_MODEL_FGD_SIMPLE, NULL);

m_pBlobDetector = cvCreateBlobDetectorSimple();

m_pBlobTrackAnalysis = cvCreateModuleBlobTrackAnalysisHistP();

m_pBlobProcessing = cvCreateModuleBlobTrackPostProcKalman();

in one of my file. and the project is working.

I found declaration of those in ~\build\include\opencv2\legacy\blobtrack.hpp file, but i wonder that where is the body of these functions?

Can Anyone Help Me With That?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-23 05:23:19.460915

Comments

please, avoid both the legacy and the old c api.

(and we probably only can help you find alternatives, if you explain, what you'r trying to achieve originally)

berak gravatar imageberak ( 2014-05-29 03:09:58 -0600 )edit

dear berak, i am trying to rewrite these functions in my custom header file which will contains only such functions which will be need for my project, not the whole thing. my prime objective is reduce opencv dependency as much as i can.

amitanvir gravatar imageamitanvir ( 2014-05-29 03:35:54 -0600 )edit

again, do not build anything based on the legacy stuff above.

berak gravatar imageberak ( 2014-05-29 03:38:35 -0600 )edit

thanks berak for your reply, but can u explain why?

amitanvir gravatar imageamitanvir ( 2014-05-29 04:29:55 -0600 )edit

they did away with the c-api in 2010 already, and most stuff in legacy did not even work well, or got superseeded by better functionality.

berak gravatar imageberak ( 2014-05-29 04:32:34 -0600 )edit