Table of contents

VideoFrameTag

The VideoFrameTag class represents a video frame tag, which is a type of image tag that is used to store additional information about a video frame. It inherits from the ImageTag class and adds additional attributes and methods specific to video frames.

Definition

Namespace: Dynamsoft.Core

Assembly: Dynamsoft.Core.dll

public class VideoFrameTag : ImageTag 

Methods

Method Description
GetVideoFrameQuality Gets the quality of the video frame.
IsCropped Determines whether the video frame is cropped.
GetCropRegion Gets the crop region of the video frame.
GetOriginalWidth Gets the original width of the video frame.
GetOriginalHeight Gets the original height of the video frame.
VideoFrameTag The constructor of the VideoFrameTag class.
GetImageTagType Gets the type of the image tag.
Clone Creates a copy of the image tag.

GetVideoFrameQuality

Gets the quality of the video frame.

EnumVideoFrameQuality GetVideoFrameQuality()

Return Value

Returns the quality of the video frame.

See Also

EnumVideoFrameQuality

IsCropped

Determines whether the video frame is cropped.

bool IsCropped()

Return Value

Returns true if the video frame is cropped, false otherwise.

GetCropRegion

Gets the crop region of the video frame.

Rect GetCropRegion()

Return Value

Returns a Rect object that represents the crop region of the video frame. It may be null.

See Also

Rect

GetOriginalWidth

Gets the original width of the video frame.

int GetOriginalWidth()

Return Value

Returns the original width of the video frame.

GetOriginalHeight

Gets the original height of the video frame.

int GetOriginalHeight()

Return Value

Returns the original height of the video frame.

VideoFrameTag Constructor

The constructor of the VideoFrameTag class.

VideoFrameTag(EnumVideoFrameQuality quality, bool isCropped, Rect cropRegion, int originalWidth, int originalHeight)

Parameters

[in] quality The quality of the video frame.

[in] isCropped A boolean value indicating whether the video frame is cropped.

[in] cropRegion A Rect object that represents the crop region of the video frame.

[in] originalWidth The original width of the video frame.

[in] originalHeight The original height of the video frame.

See Also

EnumVideoFrameQuality

GetImageTagType

Gets the type of the image tag.

EnumImageTagType GetImageTagType()

Return Value

Returns the type of the image tag.

See Also

EnumImageTagType

Clone

Creates a copy of the image tag.

ImageTag Clone()

Return Value

Returns a copy of the image tag.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: