$darkmode
OpenCV 4.12.0
Open Source Computer Vision
Namespaces | Functions
swt_text_detection.hpp File Reference
#include <opencv2/core.hpp>
#include <vector>
Include dependency graph for swt_text_detection.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 cv
 
 cv::text
 

Functions

void cv::text::detectTextSWT (InputArray input, std::vector< cv::Rect > &result, bool dark_on_light, OutputArray &draw=noArray(), OutputArray &chainBBs=noArray())
 Applies the Stroke Width Transform operator followed by filtering of connected components of similar Stroke Widths to return letter candidates. It also chain them by proximity and size, saving the result in chainBBs. More...