Class TextDetectionModel
- Namespace
- OpenCvSharp.Dnn
- Assembly
- OpenCvSharp.dll
Base class for text detection networks. This is an abstract base; use TextDetectionModelEAST or TextDetectionModelDB.
public abstract class TextDetectionModel : Model, IDisposable
- Inheritance
-
TextDetectionModel
- Implements
- Derived
- Inherited Members
Constructors
- TextDetectionModel()
For derived classes that construct the native object themselves.
Methods
- Detect(InputArray, out Point[][], out float[])
Performs detection. Given the input @p frame, prepare network input, run network inference, post-process network output and return result detections. Each result is quadrangle's 4 points in this order: bottom-left, top-left, top-right, bottom-right.
- DetectTextRectangles(InputArray, out RotatedRect[], out float[])
Performs detection. Given the input @p frame, prepare network input, run network inference, post-process network output and return result detections. Each result is rotated rectangle.