Skip to content

text_detectRegions

textfunctionOpenCV 5.0.0
import { text_detectRegions } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

Utility funtion for scripting

text_detectRegions(image: Mat, er_filter1: text_ERFilter | null, er_filter2: text_ERFilter | null, regions: PointVectorVector): void;
image

image argument (Mat).

er_filter1

er filter1 argument (text_ERFilter | null).

er_filter2

er filter2 argument (text_ERFilter | null).

regions

Output destination, filled by the native operation. regions argument (PointVectorVector).

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.