Skip to content

utils_fs_getCacheDirectoryForDownloads

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

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

ARGUMENTSSee signature below
FUNCTIONutils_fs_getCacheDirectoryForDownloads
RETURN TYPEstring
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Return the native sample-download cache path. The path belongs to the WASM virtual filesystem and does not download files by itself.

utils_fs_getCacheDirectoryForDownloads(): string;
Returns

The string 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.