gapi_wip_draw_Image
import { gapi_wip_draw_Image } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
This structure represents an image to draw.
Image is blended on a frame using the specified mask.
Constructors and members
static new
Mosaic constructor
new(): gapi_wip_draw_Image;2 available overloads
new(org_: Point, img_: Mat, alpha_: Mat): gapi_wip_draw_Image;new(): gapi_wip_draw_Image;org_The bottom-left corner of the image
img_Image to draw
alpha_Alpha channel for image to draw (same size and number of channels)
The gapi_wip_draw_Image result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
org
The bottom-left corner of the image
org: Point;img
gapi_wip_draw_Image.img: Image to draw
img: Mat;alpha
Alpha channel for image to draw (same size and number of channels)
alpha: Mat;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.