Skip to content

samples_addSamplesDataSearchPath

Core and matricesfunctionOpenCV 5.0.0
import { samples_addSamplesDataSearchPath } from '@banou/opencv-wasm'

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

ARGUMENTSpath
FUNCTIONsamples_addSamplesDataSearchPath
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Override search data path by adding new search location

Use this only to override default behavior Passed paths are used in LIFO order.

samples_addSamplesDataSearchPath(path: EmbindString): void;
path

Path to used samples data

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.