Skip to content

DrawPrimitive

Core and matricestypeOpenCV 5.0.0
import type { DrawPrimitive } from '@banou/opencv-wasm'

CPU drawing primitives accepted by the G-API renderer.

export type DrawPrimitive = gapi_wip_draw_Text | gapi_wip_draw_Rect | gapi_wip_draw_Circle | gapi_wip_draw_Line | gapi_wip_draw_Mosaic | gapi_wip_draw_Image | gapi_wip_draw_Poly

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.