gapi_wip_draw_renderNV12
import { gapi_wip_draw_renderNV12 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSy, uv, prims
FUNCTIONgapi_wip_draw_renderNV12
RETURN TYPEtuple_GMat_and_GMat
Renders on two planes
Output y image must be 8-bit unsigned planar 1-channel image CV_8UC1
uv image must be 8-bit unsigned planar 2-channel image CV_8UC2
gapi_wip_draw_renderNV12(y: GMat, uv: GMat, prims: GArray_Prim): tuple_GMat_and_GMat;yinput image: 8-bit unsigned 1-channel image
CV_8UC1uvinput image: 8-bit unsigned 2-channel image
CV_8UC2primsdraw primitives
Returns
The tuple_GMat_and_GMat 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.