Solar Pigmentation Results Scheme

Among other manifestations of hyperpigmentation, it's worth noting so-called sunspots or age spots: hyperpigmented spots of various sizes, from small to medium, asymmetrically distributed on the face. The borders are even, and the pigmentation is saturated.

"algorithm_tech_name": "freckles"

Metric

Algorithm returns the density of solar pigmentation on a face.

"main_metric": {
                "value": "4",
                "name": "Solar pigmentation density",
                "tech_name": "solar_pigmentation_density"
            },

Mask

The algorithm returns several vectorised masks of solar 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

  1. "mask_type": "polygon_mask"

  2. "tech_name": "solar_pigmentation_mask_restored"

  3. "side": "front"

  4. features

    • geometry

      • "type": "Multipolygon"

Left Result Mask

"tech_name": "solar_pigmentation_restored"

"side": "left"

Right Result Mask

"tech_name": "solar_pigmentation_restored"

"side": "right"

Example:

Metric structure follows the generic scheme of metric:

Generic Algorithm Metric Scheme

Metric name: pigmentation.solar_pigmentation

JSON object:

{
    "id": "3745116c-7033-4337-b610-c04d549dc72b",
    "result": {
        "revision": "master-25cce909",
        "image_type": "selfie",
        "area_results": [
            {
                "area_name": "face",
                "main_metric": {
                    "name": "Solar pigmentation density",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "solar_pigmentation_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": "Solar pigmentation density",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "solar_pigmentation_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": "Solar pigmentation density",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "solar_pigmentation_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": "Solar pigmentation density",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "solar_pigmentation_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": "Solar pigmentation density",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "solar_pigmentation_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": "Solar pigmentation density",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "solar_pigmentation_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": "solar_pigmentation",
        "masks_restored": [
            {
                "type": "FeatureCollection",
                "mask_type": "polygon_mask",
                "features": [],
                "view_box": "0 0 2416 2416",
                "name": "Solar Pigmentation Mask",
                "tech_name": "solar_pigmentation_mask_restored",
                "fill": "#D9580F",
                "side": "front"
            }
        ],
        "masks_original": []
    },
    "is_ok": true,
    "image_id": "245a25a8-a5a6-44ed-980c-b4341281389e",
    "algorithm_version_id": 107,
    "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.solar_pigmentation"
}

Last updated

Was this helpful?