TrackerSampler based on CS (current state), used by algorithm TrackerBoosting.  
 More...
#include "tracker.hpp"
TrackerSampler based on CS (current state), used by algorithm TrackerBoosting. 
§ anonymous enum
| Enumerator | 
|---|
| MODE_POSITIVE | mode for positive samples  | 
| MODE_NEGATIVE | mode for negative samples  | 
| MODE_CLASSIFY | mode for classify samples  | 
 
 
§ TrackerSamplerCS()
§ ~TrackerSamplerCS()
      
        
          | cv::TrackerSamplerCS::~TrackerSamplerCS | ( |  | ) |  | 
      
 
 
§ getROI()
      
        
          | Rect cv::TrackerSamplerCS::getROI | ( |  | ) | const | 
      
 
 
§ samplingImpl()
  
  | 
        
          | bool cv::TrackerSamplerCS::samplingImpl | ( | const Mat & | image, |  
          |  |  | Rect | boundingBox, |  
          |  |  | std::vector< Mat > & | sample |  
          |  | ) |  |  |  | virtual | 
 
 
§ setMode()
      
        
          | void cv::TrackerSamplerCS::setMode | ( | int | samplingMode | ) |  | 
      
 
Set the sampling mode of TrackerSamplerCS. 
- Parameters
- 
  
    | samplingMode | The sampling mode |  
 
The modes are:
- "MODE_POSITIVE = 1" – for the positive sampling
- "MODE_NEGATIVE = 2" – for the negative sampling
- "MODE_CLASSIFY = 3" – for the sampling in classification step 
 
 
The documentation for this class was generated from the following file:
- /build/3_4-contrib_docs-lin64/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp