OpenCV for Unity  2.6.3
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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.TextModule.TextDetector Class Reference

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

Inheritance diagram for OpenCVForUnity.TextModule.TextDetector:
OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject OpenCVForUnity.TextModule.TextDetectorCNN

Public Member Functions

IntPtr getNativeObjAddr ()
 
virtual void detect (Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)
 Method that provides a quick and simple interface to detect text inside an image. More...
 
- 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 (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- 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: