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: com.dynamsoft.core.basic_structures
Assembly: DynamsoftCaptureVisionBundle.aar
class VideoFrameTag extends ImageTag
Methods
| Methods | Description |
|---|---|
getClarity |
Gets the clarity of the video frame. |
getQuality |
Gets the quality of the video frame. |
isCropped |
Checks whether the video frame is cropped. |
getCropRegion |
Gets the crop region of the video frame. |
getOriginalWidth |
Gets the original width of the video frame. |
setOriginalWidth |
Sets the original width of the video frame. |
getOriginalHeight |
Gets the original height of the video frame. |
setOriginalHeight |
Sets the original height of the video frame. |
VideoFrameTag |
The constructor. |
VideoFrameTag(imageID,distanceMode,quality,isCropped,cropRegion,originalWidth,originalHeight) |
Constructs a VideoFrameTag from the specified parameters. |
getClarity
Gets the clarity of the video frame.
int getClarity();
getQuality
Gets the quality of the video frame.
@EnumVideoFrameQuality
int getQuality();
isCropped
Whether the video frame is cropped.
boolean isCropped();
getCropRegion
Gets the crop region of the video frame.
Rect getCropRegion();
getOriginalWidth
Gets the original width of the video frame.
int getOriginalWidth();
setOriginalWidth
Sets the original width of the video frame.
void setOriginalWidth(int originalWidth);
getOriginalHeight
Gets the original height of the video frame.
int getOriginalHeight();
setOriginalHeight
Sets the original height of the video frame.
void setOriginalHeight(int originalHeight);
VideoFrameTag(imageID,distanceMode,quality,isCropped,cropRegion,originalWidth,originalHeight)
The constructor.
VideoFrameTag(int imageId, @EnumImageCaptureDistanceMode int distanceMode, @EnumVideoFrameQuality int quality, boolean isCropped, Rect cropRegion, int originalWidth, int originalHeight);
Parameters
[in] frameID: The image ID of the video frame.
[in] quality: The quality of the video frame.
[in] isCropped: Whether the video frame is cropped.
[in] cropRegion: 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.