Base class for 1st and 2nd stages of Neumann and Matas scene text detection algorithm [205]. :
More...
#include <opencv2/text/erfilter.hpp>
Base class for 1st and 2nd stages of Neumann and Matas scene text detection algorithm [205]. :
Extracts the component tree (if needed) and filter the extremal regions (ER's) by using a given classifier.
◆ getNumRejected()
virtual int cv::text::ERFilter::getNumRejected |
( |
| ) |
const |
|
pure virtual |
◆ run()
virtual void cv::text::ERFilter::run |
( |
InputArray | image, |
|
|
std::vector< ERStat > & | regions ) |
|
pure virtual |
The key method of ERFilter algorithm.
Takes image on input and returns the selected regions in a vector of ERStat only distinctive ERs which correspond to characters are selected by a sequential classifier
- Parameters
-
image | Single channel image CV_8UC1 |
regions | Output for the 1st stage and Input/Output for the 2nd. The selected Extremal Regions are stored here. |
Extracts the component tree (if needed) and filter the extremal regions (ER's) by using a given classifier.
◆ setCallback()
set/get methods to set the algorithm properties,
◆ setMaxArea()
virtual void cv::text::ERFilter::setMaxArea |
( |
float | maxArea | ) |
|
|
pure virtual |
◆ setMinArea()
virtual void cv::text::ERFilter::setMinArea |
( |
float | minArea | ) |
|
|
pure virtual |
◆ setMinProbability()
virtual void cv::text::ERFilter::setMinProbability |
( |
float | minProbability | ) |
|
|
pure virtual |
◆ setMinProbabilityDiff()
virtual void cv::text::ERFilter::setMinProbabilityDiff |
( |
float | minProbabilityDiff | ) |
|
|
pure virtual |
◆ setNonMaxSuppression()
virtual void cv::text::ERFilter::setNonMaxSuppression |
( |
bool | nonMaxSuppression | ) |
|
|
pure virtual |
◆ setThresholdDelta()
virtual void cv::text::ERFilter::setThresholdDelta |
( |
int | thresholdDelta | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: