Facial Hair Attributes Result Scheme
Haut.AI provides an AI algorithm that segments facial hair of different types.
Description
The algorithm segments facial hair on the provided restored image.
It considers three types of facial hair, depending on its length: Unshaven, Stubble or Beard. For long facial hair, it also considers a division into Beard and Moustache (according to the location of the hair).
algorithm_tech_name
algorithm_tech_namefacial_hair_attributes
area_name
area_nameThe algorithm returns metrics for the following area:
face
main_metric
main_metricThe main metric indicates the presence or absence of facial hair of any type on the face.
"main_metric": {
"value": 1,
"widget_type": "category",
"name": "Facial Hair",
"tech_name": "facial_hair",
"widget_meta": null
}value0- no facial hair1- any facial hair present
"widget_type": "category""name": "Facial_hair""tech_name": "facial_hair"
sub_metrics
sub_metricsThe algorithm returns four types of sub-metrics: Unshaven,Stubble, Beard, Moustache.
"sub_metrics": [
{
"value": 0,
"widget_type": "category",
"name": "Unshaven",
"tech_name": "unshaven",
"widget_meta": null
},
{
"value": 1,
"widget_type": "category",
"name": "Stubble",
"tech_name": "stubble",
"widget_meta": null
},
{
"value": 1,
"widget_type": "category",
"name": "Beard",
"tech_name": "beard",
"widget_meta": null
},
{
"value": 1,
"widget_type": "category",
"name": "Moustache",
"tech_name": "moustache",
"widget_meta": null
}
]Unshavenindicates the presence of the "unshaven" type of facial hair (short 1-2 day stubble)value0- no unshaven type of facial hair1- any unshaven type of facial hair present
"widget_type": "category""name": "Unshaven""tech_name": "unshaven"
Stubbleindicates the presence of stubble (medium-length stubble)value0- no stubble1- any stubble presented
"widget_type": "category""name": "Stubble""tech_name": "stubble"
Beardindicates the presence of a beard (long facial hair on the chin and/or cheeks)value0- no beard1- any beard presented
"widget_type": "category""name": "Beard""tech_name": "beard"
Moustacheindicates the presence of a moustache (long facial hair above the upper lip)value0- no moustache1- any moustache present
"widget_type": "category""name": "Moustache""tech_name": "moustache"
masks_restored
masks_restoredThe algorithm returns vectorized masks for each type of facial hair (unshaven_mask, stubble_mask, beard_mask, moustache_mask) for a face-aligned image.
"mask_type": "polygon_mask"featuresgeometry
"type": "Multipolygon
See more on Masks here.
masks_original
masks_originalThe algorithm returns vectorized masks for each type of facial hair (unshaven_mask, stubble_mask, beard_mask, moustache_mask) for an original image.
"mask_type": "polygon_mask"featuresgeometry
"type": "Multipolygon"
See more on Masks here.
Example (JSON)
Last updated
Was this helpful?