VideoFrameTag
The VideoFrameTag
interface extends the ImageTag
interface and introduces additional attributes tailored for characterizing images extracted from video streams, known as DCEFrames.
interface VideoFrameTag extends ImageTag {
cropRegion: DSRect;
currentHeight: number;
currentWidth: number;
isCropped: boolean;
originalHeight: number;
originalWidth: number;
timeSpent: number;
timeStamp: number;
}
cropRegion
The region based on which the original frame was cropped. If isCropped
is false, the region covers the entire original image.
See Also
currentWidth
The current width of the video frame after cropping.
currentHeight
The current height of the video frame after cropping.
isCropped
Indicates whether the video frame is cropped.
originalWidth
The original width of the video frame before any cropping.
originalHeight
The original height of the video frame before any cropping.
timeSpent
The time spent acquiring the frame, in milliseconds.
timeStamp
The timestamp marking the completion of the frame acquisition.