FaceLandmarks Class
A collection of 27-point face landmarks pointing to the important positions of face components.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.ai.vision.face._model_base.ModelFaceLandmarks
Constructor
FaceLandmarks(*args: Any, **kwargs: Any)
Variables
Name | Description |
---|---|
pupil_left
|
The coordinates of the left eye pupil. Required. |
pupil_right
|
The coordinates of the right eye pupil. Required. |
nose_tip
|
The coordinates of the nose tip. Required. |
mouth_left
|
The coordinates of the mouth left. Required. |
mouth_right
|
The coordinates of the mouth right. Required. |
eyebrow_left_outer
|
The coordinates of the left eyebrow outer. Required. |
eyebrow_left_inner
|
The coordinates of the left eyebrow inner. Required. |
eye_left_outer
|
The coordinates of the left eye outer. Required. |
eye_left_top
|
The coordinates of the left eye top. Required. |
eye_left_bottom
|
The coordinates of the left eye bottom. Required. |
eye_left_inner
|
The coordinates of the left eye inner. Required. |
eyebrow_right_inner
|
The coordinates of the right eyebrow inner. Required. |
eyebrow_right_outer
|
The coordinates of the right eyebrow outer. Required. |
eye_right_inner
|
The coordinates of the right eye inner. Required. |
eye_right_top
|
The coordinates of the right eye top. Required. |
eye_right_bottom
|
The coordinates of the right eye bottom. Required. |
eye_right_outer
|
The coordinates of the right eye outer. Required. |
nose_root_left
|
The coordinates of the nose root left. Required. |
nose_root_right
|
The coordinates of the nose root right. Required. |
nose_left_alar_top
|
The coordinates of the nose left alar top. Required. |
nose_right_alar_top
|
The coordinates of the nose right alar top. Required. |
nose_left_alar_out_tip
|
The coordinates of the nose left alar out tip. Required. |
nose_right_alar_out_tip
|
The coordinates of the nose right alar out tip. Required. |
upper_lip_top
|
The coordinates of the upper lip top. Required. |
upper_lip_bottom
|
The coordinates of the upper lip bottom. Required. |
under_lip_top
|
The coordinates of the under lip top. Required. |
under_lip_bottom
|
The coordinates of the under lip bottom. Required. |
Methods
as_dict |
Return a dict that can be JSONify using json.dump. |
clear | |
copy | |
get | |
items | |
keys | |
pop | |
popitem | |
setdefault | |
update | |
values |
as_dict
Return a dict that can be JSONify using json.dump.
as_dict(*, exclude_readonly: bool = False) -> Dict[str, Any]
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
Returns
Type | Description |
---|---|
A dict JSON compatible object |
clear
clear() -> None
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
copy
copy() -> Model
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
get
get(key: str, default: Any = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
Default value: None
|
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
items
items() -> ItemsView[str, Any]
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
keys
keys() -> KeysView[str]
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
pop
pop(key: str, default: ~typing.Any = <object object>) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
|
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
popitem
popitem() -> Tuple[str, Any]
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
setdefault
setdefault(key: str, default: ~typing.Any = <object object>) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
|
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
update
update(*args: Any, **kwargs: Any) -> None
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
values
values() -> ValuesView[Any]
Keyword-Only Parameters
Name | Description |
---|---|
exclude_readonly
|
Whether to remove the readonly properties. |
Attributes
eye_left_bottom
The coordinates of the left eye bottom. Required.
eye_left_bottom: _models.LandmarkCoordinate
eye_left_inner
The coordinates of the left eye inner. Required.
eye_left_inner: _models.LandmarkCoordinate
eye_left_outer
The coordinates of the left eye outer. Required.
eye_left_outer: _models.LandmarkCoordinate
eye_left_top
The coordinates of the left eye top. Required.
eye_left_top: _models.LandmarkCoordinate
eye_right_bottom
The coordinates of the right eye bottom. Required.
eye_right_bottom: _models.LandmarkCoordinate
eye_right_inner
The coordinates of the right eye inner. Required.
eye_right_inner: _models.LandmarkCoordinate
eye_right_outer
The coordinates of the right eye outer. Required.
eye_right_outer: _models.LandmarkCoordinate
eye_right_top
The coordinates of the right eye top. Required.
eye_right_top: _models.LandmarkCoordinate
eyebrow_left_inner
The coordinates of the left eyebrow inner. Required.
eyebrow_left_inner: _models.LandmarkCoordinate
eyebrow_left_outer
The coordinates of the left eyebrow outer. Required.
eyebrow_left_outer: _models.LandmarkCoordinate
eyebrow_right_inner
The coordinates of the right eyebrow inner. Required.
eyebrow_right_inner: _models.LandmarkCoordinate
eyebrow_right_outer
The coordinates of the right eyebrow outer. Required.
eyebrow_right_outer: _models.LandmarkCoordinate
mouth_left
The coordinates of the mouth left. Required.
mouth_left: _models.LandmarkCoordinate
mouth_right
The coordinates of the mouth right. Required.
mouth_right: _models.LandmarkCoordinate
nose_left_alar_out_tip
The coordinates of the nose left alar out tip. Required.
nose_left_alar_out_tip: _models.LandmarkCoordinate
nose_left_alar_top
The coordinates of the nose left alar top. Required.
nose_left_alar_top: _models.LandmarkCoordinate
nose_right_alar_out_tip
The coordinates of the nose right alar out tip. Required.
nose_right_alar_out_tip: _models.LandmarkCoordinate
nose_right_alar_top
The coordinates of the nose right alar top. Required.
nose_right_alar_top: _models.LandmarkCoordinate
nose_root_left
The coordinates of the nose root left. Required.
nose_root_left: _models.LandmarkCoordinate
nose_root_right
The coordinates of the nose root right. Required.
nose_root_right: _models.LandmarkCoordinate
nose_tip
The coordinates of the nose tip. Required.
nose_tip: _models.LandmarkCoordinate
pupil_left
The coordinates of the left eye pupil. Required.
pupil_left: _models.LandmarkCoordinate
pupil_right
The coordinates of the right eye pupil. Required.
pupil_right: _models.LandmarkCoordinate
under_lip_bottom
The coordinates of the under lip bottom. Required.
under_lip_bottom: _models.LandmarkCoordinate
under_lip_top
The coordinates of the under lip top. Required.
under_lip_top: _models.LandmarkCoordinate
upper_lip_bottom
The coordinates of the upper lip bottom. Required.
upper_lip_bottom: _models.LandmarkCoordinate
upper_lip_top
The coordinates of the upper lip top. Required.
upper_lip_top: _models.LandmarkCoordinate
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for