35 #ifndef VP_RB_DRIFT_DETECTOR_H
36 #define VP_RB_DRIFT_DETECTOR_H
38 #include <visp3/core/vpConfig.h>
40 #if defined(VISP_HAVE_NLOHMANN_JSON)
41 #include VISP_NLOHMANN_JSON(json_fwd.hpp)
49 template <
typename T>
class vpImage;
101 #if defined(VISP_HAVE_NLOHMANN_JSON)
Implementation of an homogeneous matrix and operations on such kind of matrices.
Definition of the vpImage class member functions.
Base interface for algorithms that should detect tracking drift for the render-based tracker.
virtual double getScore() const =0
Get the estimated tracking reliability. A high score should mean that the tracking is reliable....
virtual void loadJsonConfiguration(const nlohmann::json &)=0
virtual bool hasDiverged() const =0
Returns whether the tracking has diverged and should be reinitialized. This function should be called...
vpRBDriftDetector()=default
virtual ~vpRBDriftDetector()=default
virtual void update(const vpRBFeatureTrackerInput &previousFrame, const vpRBFeatureTrackerInput &frame, const vpHomogeneousMatrix &cTo, const vpHomogeneousMatrix &cprevTo)=0
Update the algorithm after a new tracking step.
virtual void display(const vpImage< vpRGBa > &I)=0
Displays the information used for drift detection.