Moles Results Scheme
Moles are a form of pigmentation of various colors - brown, black, red, purple, and others. They can be located at the level of the skin or raised above it. The outline is often well-defined. The color is saturated, much darker than the overall skin tone. The size varies greatly. Their placement on the face is unpredictable, with no specific patterns of occurrence. Some other forms of hyperpigmentation (post-acne, sunspots) can, as they develop, transition into freckle-like pigmentation.
"algorithm_tech_name": "moles"
Metric
Algorithm returns the amount of moles detected on a face.
"main_metric": {
"value": "4",
"name": "Moles number",
"tech_name": "moles_number"
},
Mask
The algorithm returns several vectorised masks of moles 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": "moles_mask_restored"
"side": "front"
features
geometry
"type": "Multipolygon"
Left Result Mask
"tech_name": "moles_mask_restored"
"side": "left"
Right Result Mask
"tech_name": "moles_mask_restored"
"side": "right"
Example:
Metric structure follows the generic scheme of metric:
Generic Algorithm Metric SchemeMetric name: pigmentation.moles
Pigmentation PRO App contains masks only for restored images!
JSON object:
{
"id": "14ce7035-7b28-45c0-a45b-295a812b6793",
"result": {
"revision": "master-25cce909",
"image_type": "selfie",
"area_results": [
{
"area_name": "face",
"main_metric": {
"name": "Moles number",
"units": null,
"value": 12,
"tech_name": "moles_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 12,
"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": "Moles number",
"units": null,
"value": 0,
"tech_name": "moles_number",
"widget_meta": null,
"widget_type": "numeric",
"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": "Moles number",
"units": null,
"value": 1,
"tech_name": "moles_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 1,
"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": "Moles number",
"units": null,
"value": 2,
"tech_name": "moles_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 2,
"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": "Moles number",
"units": null,
"value": 1,
"tech_name": "moles_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 1,
"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": "Moles number",
"units": null,
"value": 8,
"tech_name": "moles_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
"sub_metrics": [
{
"name": "Number of regions",
"units": null,
"value": 8,
"tech_name": "area_regions_number",
"widget_meta": null,
"widget_type": "numeric",
"widget_show": true
},
{
"name": "Density of regions",
"units": null,
"value": 1,
"tech_name": "area_regions_density",
"widget_meta": null,
"widget_type": "percentage",
"widget_show": true
}
]
}
],
"algorithm_tech_name": "moles",
"masks_restored": [
{
"type": "FeatureCollection",
"mask_type": "polygon_mask",
"features": [
{
"type": "feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
756,
1507
],
[
752,
1511
],
[
752,
1530
],
[
755,
1533
],
[
756,
1537
],
[
760,
1540
],
[
772,
1540
],
[
779,
1530
],
[
779,
1515
],
[
776,
1512
],
[
775,
1507
]
]
],
[
[
[
681,
1429
],
[
678,
1432
],
[
674,
1433
],
[
674,
1463
],
[
678,
1467
],
[
696,
1467
],
[
700,
1463
],
[
700,
1436
],
[
693,
1429
]
]
],
[
[
[
750,
1426
],
[
746,
1430
],
[
746,
1442
],
[
750,
1446
],
[
767,
1445
],
[
766,
1426
]
]
],
[
[
[
1507,
1409
],
[
1508,
1425
],
[
1528,
1424
],
[
1527,
1408
]
]
],
[
[
[
665,
1364
],
[
665,
1367
],
[
662,
1370
],
[
662,
1382
],
[
665,
1385
],
[
665,
1391
],
[
669,
1395
],
[
688,
1394
],
[
688,
1370
],
[
685,
1367
],
[
684,
1363
]
]
],
[
[
[
1219,
1299
],
[
1215,
1303
],
[
1215,
1318
],
[
1219,
1322
],
[
1231,
1322
],
[
1238,
1315
],
[
1237,
1299
]
]
],
[
[
[
675,
1248
],
[
671,
1252
],
[
671,
1270
],
[
675,
1274
],
[
687,
1274
],
[
691,
1270
],
[
691,
1252
],
[
687,
1248
]
]
],
[
[
[
624,
1215
],
[
620,
1219
],
[
620,
1225
],
[
617,
1228
],
[
617,
1240
],
[
620,
1243
],
[
621,
1250
],
[
636,
1250
],
[
640,
1246
],
[
640,
1219
],
[
636,
1215
]
]
],
[
[
[
683,
1122
],
[
683,
1140
],
[
687,
1144
],
[
700,
1143
],
[
700,
1140
],
[
703,
1137
],
[
703,
1125
],
[
699,
1121
]
]
],
[
[
[
632,
1110
],
[
633,
1129
],
[
645,
1129
],
[
649,
1125
],
[
648,
1109
]
]
],
[
[
[
789,
560
],
[
790,
582
],
[
802,
582
],
[
809,
575
],
[
809,
563
],
[
805,
559
]
]
],
[
[
[
1375,
497
],
[
1376,
513
],
[
1389,
512
],
[
1388,
496
]
]
]
]
},
"properties": {
"intensity": 1
}
}
],
"view_box": "0 0 2416 2416",
"name": "Moles Mask",
"tech_name": "moles_mask_restored",
"fill": "#D9580F",
"side": "front"
}
],
"masks_original": []
},
"is_ok": true,
"image_id": "245a25a8-a5a6-44ed-980c-b4341281389e",
"algorithm_version_id": 104,
"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.moles"
}
Last updated
Was this helpful?