OpenCV for Unity 2.6.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.TextModule.TextDetector Class Reference

An abstract class providing interface for text detection algorithms. More...

Public Member Functions

virtual void detect (Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)
 Method that provides a quick and simple interface to detect text inside an image.
 
IntPtr getNativeObjAddr ()
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static TextDetector __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

An abstract class providing interface for text detection algorithms.

Member Function Documentation

◆ __fromPtr__()

static TextDetector OpenCVForUnity.TextModule.TextDetector.__fromPtr__ ( IntPtr addr)
static

◆ detect()

virtual void OpenCVForUnity.TextModule.TextDetector.detect ( Mat inputImage,
MatOfRect Bbox,
MatOfFloat confidence )
virtual

Method that provides a quick and simple interface to detect text inside an image.

Parameters
inputImagean image to process
Bboxa vector of Rect that will store the detected word bounding box
confidencea vector of float that will be updated with the confidence the classifier has for the selected bounding box

Reimplemented in OpenCVForUnity.TextModule.TextDetectorCNN.

◆ Dispose()

override void OpenCVForUnity.TextModule.TextDetector.Dispose ( bool disposing)
protectedvirtual

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.TextModule.TextDetector.getNativeObjAddr ( )

The documentation for this class was generated from the following file: