Cloud Vision V1 Client - Class Landmark (2.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Vision V1 Client class Landmark.
A face-specific landmark (for example, a face feature).
Generated from protobuf message google.cloud.vision.v1.FaceAnnotation.Landmark
Namespace
Google \ Cloud \ Vision \ V1 \ FaceAnnotation
Methods
__construct
Parameters |
Name |
Description |
data |
array
Optional. Data for populating the Message object.
|
↳ type |
int
Face landmark type.
|
↳ position |
Google\Cloud\Vision\V1\Position
Face landmark position.
|
getType
Returns |
Type |
Description |
int |
|
setType
Parameter |
Name |
Description |
var |
int
|
Returns |
Type |
Description |
$this |
|
getPosition
hasPosition
clearPosition
setPosition
Returns |
Type |
Description |
$this |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Vision V1 Client - Class Landmark (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-vision/latest/V1.FaceAnnotation.Landmark)\n- [2.0.2](/php/docs/reference/cloud-vision/2.0.2/V1.FaceAnnotation.Landmark)\n- [1.10.3](/php/docs/reference/cloud-vision/1.10.3/V1.FaceAnnotation.Landmark)\n- [1.9.4](/php/docs/reference/cloud-vision/1.9.4/V1.FaceAnnotation.Landmark)\n- [1.8.0](/php/docs/reference/cloud-vision/1.8.0/V1.FaceAnnotation.Landmark)\n- [1.7.6](/php/docs/reference/cloud-vision/1.7.6/V1.FaceAnnotation.Landmark)\n- [1.6.8](/php/docs/reference/cloud-vision/1.6.8/V1.FaceAnnotation.Landmark) \nReference documentation and code samples for the Cloud Vision V1 Client class Landmark.\n\nA face-specific landmark (for example, a face feature).\n\nGenerated from protobuf message `google.cloud.vision.v1.FaceAnnotation.Landmark`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Vision \\\\ V1 \\\\ FaceAnnotation\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nFace landmark type.\n\n### setType\n\nFace landmark type.\n\n### getPosition\n\nFace landmark position.\n\n### hasPosition\n\n### clearPosition\n\n### setPosition\n\nFace landmark position."]]