Reference documentation and code samples for the Cloud Video Intelligence V1 Client class DetectedLandmark.
A generic detected landmark represented by name in string format and a 2D location.
Generated from protobuf message google.cloud.videointelligence.v1.DetectedLandmark
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of this landmark, for example, left_hand, right_shoulder.
↳ point
Google\Cloud\VideoIntelligence\V1\NormalizedVertex
The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.
↳ confidence
float
The confidence score of the detected landmark. Range [0, 1].
getName
The name of this landmark, for example, left_hand, right_shoulder.
string
setName
The name of this landmark, for example, left_hand, right_shoulder.
var
string
$this
getPoint
The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.
hasPoint
clearPoint
setPoint
The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.
$this
getConfidence
The confidence score of the detected landmark. Range [0, 1].
float
setConfidence
The confidence score of the detected landmark. Range [0, 1].
var
float
$this