Show / Hide Table of Contents

Class TextDetector

An abstract class providing interface for text detection algorithms

Inheritance
System.Object
DisposableObject
DisposableCvObject
TextDetector
TextDetectorCNN
Implements
ICvPtrHolder
Inherited Members
DisposableCvObject.ptr
DisposableCvObject.DisposeUnmanaged()
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeManaged()
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public abstract class TextDetector : DisposableCvObject, ICvPtrHolder

Methods

| Improve this Doc View Source

Detect(InputArray, out Rect[], out Single[])

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

Declaration
public virtual void Detect(InputArray inputImage, out Rect[] bbox, out float[] confidence)
Parameters
Type Name Description
InputArray inputImage

an image to process

OpenCvSharp.Rect[] bbox

a vector of Rect that will store the detected word bounding box

System.Single[] confidence

a vector of float that will be updated with the confidence the classifier has for the selected bounding box

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX