Class TextDetector
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
An abstract class providing interface for text detection algorithms
public abstract class TextDetector : DisposableCvObject, IDisposable, ICvPtrHolder
- Inheritance
-
TextDetector
- Implements
- Derived
- Inherited Members
Methods
Detect(InputArray, out Rect[], out float[])
Method that provides a quick and simple interface to detect text inside an image
public virtual void Detect(InputArray inputImage, out Rect[] bbox, out float[] confidence)
Parameters
inputImageInputArrayan image to process
bboxRect[]a vector of Rect that will store the detected word bounding box
confidencefloat[]a vector of float that will be updated with the confidence the classifier has for the selected bounding box