DCEFrame
interface
DCEFrame
-
canvas: *HTMLCanvasElement OffscreenCanvas* A canvas element that holds the image data of the frame.
-
data: *Uint8Array Uint8ClampedArray* The raw image data.
-
region: Region
The region based on which the original frame is cropped.
-
sx: number
The horizontal coordinate of the upper left point of the
data
on the original frame. If the frame was not cropped, the coordinate is 0. -
sy: number
The vertical coordinate of the upper left point of the
data
on the original frame. If the frame was not cropped, the coordinate is 0. -
width: number
The width of the image data.
-
height: number
The height of the image data.
-
timeSpent: number
The time in miniseconds spent in acquiring the frame.
-
timeStamp: number
The timeStamp at which point the frame acquisition finished.