| OpenCV 3.4.1 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 "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 | ( |  | ) |
| inline virtual

## 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:

- /build/master-contrib_docs-lin64/opencv_contrib/modules/text/include/opencv2/text/erfilter.hpp