Melasma Results Scheme
Melasma is a form of hyperpigmentation characterized by bilateral symmetrical, uneven brown patches on exposed areas of the face. The size of the patches can vary significantly, ranging from 0.5 to 10 centimeters or more. The border of melasma may be poorly defined, uneven, and not continuous. The internal pigmentation can be either uniform or can consist of a dense accumulation of small to medium-sized patches.
"algorithm_tech_name": "melasma"
Metric
Algorithm returns the density of melasma on a face.
"main_metric": {
"value": "4",
"name": "Melasma density",
"tech_name": "melasma_density"
},
Mask
The algorithm returns several vectorised masks of melasma like pigmentation for an image aligned with the face.
For a batch mode, all masks for left and right side pictures are attached to the frontal image result.
For single image analysis - only frontal mask is available. For a batch - left, front and right masks are available.
Front Result Mask
"mask_type": "polygon_mask"
"tech_name": "melasma_mask_restored"
"side": "front"
features
geometry
"type": "Multipolygon"
Left Result Mask
"tech_name": "melasma_mask_restored"
"side": "left"
Right Result Mask
"tech_name": "melasma_mask_restored"
"side": "right"
Example:
Metric structure follows the generic scheme of metric:
Generic Algorithm Metric SchemeMetric name: pigmentation.melasma
Pigmentation PRO App contains masks only for restored images!
JSON object:
{
"id": "432b8293-d778-46b5-8d9d-a2f22273d22e",
"result": {
"revision": "master-25cce909",
"image_type": "selfie",
"area_results": [
{
"area_name": "face",
"main_metric": {
"name": "Melasma density",
"units": "percentage",
"value": 0,
"tech_name": "melasma_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
{
"name": "Density of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
}
]
},
{
"area_name": "chin",
"main_metric": {
"name": "Melasma density",
"units": "percentage",
"value": 0,
"tech_name": "melasma_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
{
"name": "Density of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
}
]
},
{
"area_name": "nose",
"main_metric": {
"name": "Melasma density",
"units": "percentage",
"value": 0,
"tech_name": "melasma_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
{
"name": "Density of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
}
]
},
{
"area_name": "forehead",
"main_metric": {
"name": "Melasma density",
"units": "percentage",
"value": 0,
"tech_name": "melasma_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
{
"name": "Density of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
}
]
},
{
"area_name": "left_cheek",
"main_metric": {
"name": "Melasma density",
"units": "percentage",
"value": 0,
"tech_name": "melasma_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
{
"name": "Density of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
}
]
},
{
"area_name": "right_cheek",
"main_metric": {
"name": "Melasma density",
"units": "percentage",
"value": 0,
"tech_name": "melasma_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
{
"name": "Density of regions",
"units": null,
"value": 0,
"tech_name": "area_regions_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
}
]
}
],
"algorithm_tech_name": "melasma",
"masks_restored": [
{
"type": "FeatureCollection",
"mask_type": "polygon_mask",
"features": [],
"view_box": "0 0 2416 2416",
"name": "Melasma Mask",
"tech_name": "melasma_mask_restored",
"fill": "#D9580F",
"side": "front"
}
],
"masks_original": []
},
"is_ok": true,
"image_id": "245a25a8-a5a6-44ed-980c-b4341281389e",
"algorithm_version_id": 105,
"creation_time": "2025-02-26 10:50:40",
"application_id": "e9e18cba-e6a8-4d32-91f8-3cd3d1069b9b",
"application_name": "Pigmentation",
"application_description": "Pigmentation",
"application_run_id": "40e8bbfa-916b-4a71-b06e-c97ca06bccb1",
"image_type": "selfie",
"algorithm_family_tech_name": "pigmentation.melasma"
}
Last updated
Was this helpful?