detail_selectRandomSubset
import { detail_selectRandomSubset } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTScount, size, subset
FUNCTIONdetail_selectRandomSubset
RETURN TYPEvoid
Returns random 'count' element subset of the {0,1,...,size-1} set
detail_selectRandomSubset(count: number, size: number, subset: IntVector): void;countcount argument (number).
sizesize argument (number).
subsetsubset argument (IntVector).
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.