where is body/Code block of functions ?

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

amitanvir gravatar image

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

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 close merge delete

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 -0500 )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 -0500 )edit

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

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

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

amitanvir gravatar imageamitanvir ( 2014-05-29 04:29:55 -0500 )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 -0500 )edit