CVideoFrameTag
The CVideoFrameTag
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 CImageTag
class and adds additional attributes and methods specific to video frames.
Definition
Namespace: dynamsoft::basic_structures
Assembly: DynamsoftCore
class CVideoFrameTag: public CImageTag
Methods Summary
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. |
CVideoFrameTag |
The constructor of the CVideoFrameTag class. |
~CVideoFrameTag |
The destructor of the CVideoFrameTag class. |
Inherited Methods
The following methods are inherited from class CImageTag
.
Method | Description |
---|---|
GetType |
Gets the type of the image tag. |
Clone |
Creates a copy of the image tag. |
GetImageId |
Gets the ID of the image. |
SetImageId |
Sets the ID of the image. |
GetImageCaptureDistanceMode |
Gets the capture distance mode of the image. |
SetImageCaptureDistanceMode |
Sets the capture distance mode of the image. |
GetVideoFrameQuality
Gets the quality of the video frame.
VideoFrameQuality GetVideoFrameQuality() const
Return value
Returns the quality of the video frame.
See Also
IsCropped
Determines whether the video frame is cropped.
bool IsCropped() const
Return value
Returns true if the video frame is cropped, false otherwise.
GetCropRegion
Gets the crop region of the video frame.
const CRect* GetCropRegion() const
Return value
Returns a pointer to a CRect
object that represents the crop region of the video frame. It may be NULL.
See Also
GetOriginalWidth
Gets the original width of the video frame.
int GetOriginalWidth() const
Return value
Returns the original width of the video frame.
GetOriginalHeight
Gets the original height of the video frame.
int GetOriginalHeight() const
Return value
Returns the original height of the video frame.
CVideoFrameTag Constructor
The constructor of the CVideoFrameTag
class.
CVideoFrameTag(VideoFrameQuality quality, bool isCropped, const CRect* 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 pointer to a CRect
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
CVideoFrameTag Destructor
The destructor of the CVideoFrameTag
class.
virtual ~CVideoFrameTag()