DCEFrame
interface DCEFrame
-
colorMode:
stringThe color mode of the image data.
-
data:
Uint8ArrayThe raw image data.
-
region:
RegionThe region based on which the original frame is cropped.
-
isCropped:
booleanWhether the image was cropped from the original frame.
-
sx:
numberThe horizontal coordinate of the upper left point of the
dataon the original frame. If the frame was not cropped, the coordinate is 0. -
sy:
numberThe vertical coordinate of the upper left point of the
dataon the original frame. If the frame was not cropped, the coordinate is 0. -
width:
numberThe width of the image data.
-
height:
numberThe height of the image data.
-
timeSpent:
numberThe time in miniseconds spent in acquiring the frame.
-
timeStamp:
numberThe timeStamp at which point the frame acquisition finished.
-
toCanvas:
()=>HTMLCanvasElementA
Functionwhich converts the image data to anHTMLCanvasElementobject.