More abstract tracker declaration

    This contribution changes the way how trackers should be implemented by
    programmer. It should be noted first, that from the user prospective,
    Tracker::create() method still can be called with the same effect.
    However, there's no more thing as a "constructor" for Tracker, they
    should be created via static functions, e.g.
        static Ptr<TrackerMIL> createTracker(const TrackerMIL::Params &parameters=TrackerMIL::Params());
    
    From the programmer's perspective now for every tracker what is declared
    in tracker.hpp header is more a "interface", while the real
    implementation class can (and has to) be implemented in .cpp file.
    
    Changes in documentation are also ready as well.
2 comments: noted with thanks and corrected


2014-07-08 18:28 GMT+09:00 Antonella Cascitelli <notifications@github.com>:

> In modules/tracking/include/opencv2/tracking.hpp:
>
> > @@ -42,11 +42,13 @@
> >  #ifndef __OPENCV_TRACKING_HPP__
> >  #define __OPENCV_TRACKING_HPP__
> >
> > -#include "opencv2/tracking/tracker.hpp"
> > +#include "opencv2/core.hpp"
>
> Maybe we can include only opencv2/core/cvdef.h
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Itseez/opencv_contrib/pull/30/files#r14644090>.
>