face_loadDatasetList
import { face_loadDatasetList } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSimageList, annotationList, images, annotations
FUNCTIONface_loadDatasetList
RETURN TYPEboolean
A utility to load list of paths to training image and annotation file.
String imageFiles = "images_path.txt";
String ptsFiles = "annotations_path.txt";
std::vector<String> images_train;
std::vector<String> landmarks_train;
loadDatasetList(imageFiles,ptsFiles,images_train,landmarks_train);
face_loadDatasetList(imageList: EmbindString, annotationList: EmbindString, images: StringVector, annotations: StringVector): boolean;imageListThe specified file contains paths to the training images.
annotationListThe specified file contains paths to the training annotations.
imagesThe loaded paths of training images.
annotationsThe loaded paths of annotation files.
Example of usage:
Returns
The boolean 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.