ximgproc_createStructuredEdgeDetection
import { ximgproc_createStructuredEdgeDetection } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSmodel, howToGetFeatures
FUNCTIONximgproc_createStructuredEdgeDetection
RETURN TYPEximgproc_StructuredEdgeDetection | null
The only constructor
ximgproc_createStructuredEdgeDetection(model: EmbindString, howToGetFeatures: ximgproc_RFFeatureGetter | null): ximgproc_StructuredEdgeDetection | null;2 available overloads
ximgproc_createStructuredEdgeDetection(model: EmbindString): ximgproc_StructuredEdgeDetection | null;ximgproc_createStructuredEdgeDetection(model: EmbindString, howToGetFeatures: ximgproc_RFFeatureGetter | null): ximgproc_StructuredEdgeDetection | null;model: name of the file where the model is stored
howToGetFeatures: optional object inheriting from RFFeatureGetter. You need it only if you would like to train your own forest, pass NULL otherwise
Returns
The ximgproc_StructuredEdgeDetection | null result.
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.