Post-inflammatory Hyperpigmentation Result Scheme

Acne Pro

How to filter this result in API response

Filter by field algorithm_family_tech_name

search for value acne.post_inflammatory_hyperpigmentation

How to check if the calculation was successful

Check for the field is_ok

"is_ok": true  # no errors

Mask

The algorithm returns several vectorised masks of Post-inflammatory Hyperpigmentation 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 a single image analysis - only frontal mask is available. For a batch - left, front and right masks are available.

Post-inflammatory Hyperpigmentation Mask visualization (Red line is just for anonymization)

Example JSON

{
    "id": "4cff9fb8-e85c-4000-a387-d22d52c15a31",
    "result": {
        "revision": "master-25cce909",
        "image_type": "selfie",
        "area_results": [
            {
                "area_name": "face",
                "main_metric": {
                    "name": "Post-inflammatory Hyperpigmentation",
                    "units": "per mille",
                    "value": 2,
                    "tech_name": "post_inflammatory_hyperpigmentation",
                    "widget_meta": null,
                    "widget_type": "percentage",
                    "widget_show": true
                },
                "sub_metrics": []
            },
            {
                "area_name": "chin",
                "main_metric": {
                    "name": "Post-inflammatory Hyperpigmentation",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "post_inflammatory_hyperpigmentation",
                    "widget_meta": null,
                    "widget_type": "percentage",
                    "widget_show": true
                },
                "sub_metrics": []
            },
            {
                "area_name": "nose",
                "main_metric": {
                    "name": "Post-inflammatory Hyperpigmentation",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "post_inflammatory_hyperpigmentation",
                    "widget_meta": null,
                    "widget_type": "percentage",
                    "widget_show": true
                },
                "sub_metrics": []
            },
            {
                "area_name": "forehead",
                "main_metric": {
                    "name": "Post-inflammatory Hyperpigmentation",
                    "units": "per mille",
                    "value": 2,
                    "tech_name": "post_inflammatory_hyperpigmentation",
                    "widget_meta": null,
                    "widget_type": "percentage",
                    "widget_show": true
                },
                "sub_metrics": []
            },
            {
                "area_name": "left_cheek",
                "main_metric": {
                    "name": "Post-inflammatory Hyperpigmentation",
                    "units": "per mille",
                    "value": 0,
                    "tech_name": "post_inflammatory_hyperpigmentation",
                    "widget_meta": null,
                    "widget_type": "percentage",
                    "widget_show": true
                },
                "sub_metrics": []
            },
            {
                "area_name": "right_cheek",
                "main_metric": {
                    "name": "Post-inflammatory Hyperpigmentation",
                    "units": "per mille",
                    "value": 7,
                    "tech_name": "post_inflammatory_hyperpigmentation",
                    "widget_meta": null,
                    "widget_type": "percentage",
                    "widget_show": true
                },
                "sub_metrics": []
            }
        ],
        "algorithm_tech_name": "post_inflammatory_hyperpigmentation",
        "masks_restored": [
            {
                "type": "FeatureCollection",
                "mask_type": "polygon_mask",
                "features": [
                    {
                        "type": "feature",
                        "geometry": {
                            "type": "MultiPolygon",
                            "coordinates": [
                                [
                                    [
                                        [
                                            762,
                                            1508
                                        ],
                                        [
                                            756,
                                            1514
                                        ],
                                        [
                                            756,
                                            1528
                                        ],
                                        [
                                            762,
                                            1534
                                        ],
                                        [
                                            770,
                                            1534
                                        ],
                                        [
                                            774,
                                            1530
                                        ],
                                        [
                                            774,
                                            1514
                                        ],
                                        [
                                            767,
                                            1508
                                        ]
                                    ]
                                ],
                                [
                                    [
                                        [
                                            680,
                                            1431
                                        ],
                                        [
                                            674,
                                            1437
                                        ],
                                        [
                                            674,
                                            1454
                                        ],
                                        [
                                            676,
                                            1459
                                        ],
                                        [
                                            680,
                                            1462
                                        ],
                                        [
                                            695,
                                            1461
                                        ],
                                        [
                                            697,
                                            1452
                                        ],
                                        [
                                            700,
                                            1449
                                        ],
                                        [
                                            700,
                                            1447
                                        ],
                                        [
                                            697,
                                            1444
                                        ],
                                        [
                                            697,
                                            1437
                                        ],
                                        [
                                            691,
                                            1431
                                        ]
                                    ]
                                ],
                                [
                                    [
                                        [
                                            669,
                                            1365
                                        ],
                                        [
                                            666,
                                            1369
                                        ],
                                        [
                                            666,
                                            1380
                                        ],
                                        [
                                            668,
                                            1385
                                        ],
                                        [
                                            672,
                                            1389
                                        ],
                                        [
                                            677,
                                            1391
                                        ],
                                        [
                                            684,
                                            1388
                                        ],
                                        [
                                            684,
                                            1383
                                        ],
                                        [
                                            686,
                                            1380
                                        ],
                                        [
                                            684,
                                            1371
                                        ],
                                        [
                                            677,
                                            1365
                                        ]
                                    ]
                                ],
                                [
                                    [
                                        [
                                            650,
                                            1282
                                        ],
                                        [
                                            646,
                                            1285
                                        ],
                                        [
                                            646,
                                            1289
                                        ],
                                        [
                                            644,
                                            1292
                                        ],
                                        [
                                            644,
                                            1304
                                        ],
                                        [
                                            647,
                                            1308
                                        ],
                                        [
                                            653,
                                            1308
                                        ],
                                        [
                                            659,
                                            1299
                                        ],
                                        [
                                            659,
                                            1290
                                        ],
                                        [
                                            652,
                                            1283
                                        ]
                                    ]
                                ],
                                [
                                    [
                                        [
                                            626,
                                            1218
                                        ],
                                        [
                                            622,
                                            1221
                                        ],
                                        [
                                            622,
                                            1240
                                        ],
                                        [
                                            626,
                                            1244
                                        ],
                                        [
                                            629,
                                            1243
                                        ],
                                        [
                                            629,
                                            1241
                                        ],
                                        [
                                            637,
                                            1233
                                        ],
                                        [
                                            637,
                                            1226
                                        ],
                                        [
                                            633,
                                            1220
                                        ],
                                        [
                                            628,
                                            1218
                                        ]
                                    ]
                                ],
                                [
                                    [
                                        [
                                            1099,
                                            547
                                        ],
                                        [
                                            1096,
                                            549
                                        ],
                                        [
                                            1091,
                                            549
                                        ],
                                        [
                                            1080,
                                            558
                                        ],
                                        [
                                            1079,
                                            565
                                        ],
                                        [
                                            1076,
                                            568
                                        ],
                                        [
                                            1076,
                                            570
                                        ],
                                        [
                                            1083,
                                            579
                                        ],
                                        [
                                            1090,
                                            580
                                        ],
                                        [
                                            1096,
                                            585
                                        ],
                                        [
                                            1101,
                                            580
                                        ],
                                        [
                                            1109,
                                            580
                                        ],
                                        [
                                            1116,
                                            577
                                        ],
                                        [
                                            1116,
                                            573
                                        ],
                                        [
                                            1119,
                                            570
                                        ],
                                        [
                                            1119,
                                            555
                                        ],
                                        [
                                            1112,
                                            549
                                        ],
                                        [
                                            1107,
                                            549
                                        ],
                                        [
                                            1104,
                                            547
                                        ]
                                    ]
                                ]
                            ]
                        },
                        "properties": {
                            "intensity": 1
                        }
                    }
                ],
                "view_box": "0 0 2416 2416",
                "name": "Post-inflammatory Hyperpigmentation Mask",
                "tech_name": "post_inflammatory_hyperpigmentation_mask_restored",
                "fill": "#D9580F",
                "side": "front"
            }
        ],
        "masks_original": []
    },
    "is_ok": true,
    "image_id": "245a25a8-a5a6-44ed-980c-b4341281389e",
    "algorithm_version_id": 98,
    "creation_time": "2025-02-26 10:50:40",
    "application_id": "7497f948-3de0-48be-be0f-a53ccfbec7fd",
    "application_name": "Acne",
    "application_description": "Use this app to precisely analyse acne conditions. This algorithm was developed under the supervision of a skin physiology specialist and can distinguish between 4 different acne manifestations, such as (1) papules, (2) pustules, (3) acne inflammation and (4) post-acne hyperpigmentation. This new algorithm will help to assess the severity of acne in a more detailed way and evaluate the dynamics of change of this skin condition.",
    "application_run_id": "4833ea3f-55d6-4e9d-bcc1-ea14fa14fcee",
    "image_type": "selfie",
    "algorithm_family_tech_name": "acne.post_inflammatory_hyperpigmentation"
}

Last updated

Was this helpful?