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)
49template <
typename T>
class vpImage;
112#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.
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 double score(const vpRBFeatureTrackerInput &frame, const vpHomogeneousMatrix &cTo)=0
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.