OpenCV  4.5.0-pre
Open Source Computer Vision
Public Member Functions | List of all members
cv::text::ERFilter::Callback Class Referenceabstract

Callback with the classifier is made a class. More...

#include <opencv2/text/erfilter.hpp>

Public Member Functions

virtual ~Callback ()
 
virtual double eval (const ERStat &stat)=0
 The classifier must return probability measure for the region. More...
 

Detailed Description

Callback with the classifier is made a class.

By doing it we hide SVM, Boost etc. Developers can provide their own classifiers to the ERFilter algorithm.

Constructor & Destructor Documentation

◆ ~Callback()

virtual cv::text::ERFilter::Callback::~Callback ( )
inlinevirtual

Member Function Documentation

◆ eval()

virtual double cv::text::ERFilter::Callback::eval ( const ERStat stat)
pure virtual

The classifier must return probability measure for the region.

Parameters
stat: The region to be classified

The documentation for this class was generated from the following file: