toUMat
import { toUMat } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTS_0, _1
FUNCTIONtoUMat
RETURN TYPEUMat
Copy a matrix into an owned CPU-backed UMat. This build does not use an OpenCL device.
toUMat(_0: Mat, _1: number): UMat;_00 argument (Mat).
_11 argument (number).
Returns
The UMat 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.