text_detectRegions
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;imageimage argument (Mat).
er_filter1er filter1 argument (text_ERFilter | null).
er_filter2er filter2 argument (text_ERFilter | null).
regionsOutput 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.