O
O
okovalev2018-08-30 01:02:16
Pattern recognition
okovalev, 2018-08-30 01:02:16

Where can I see a demo of hair color recognition services?

Nice demo: https://azure.microsoft.com/en-us/services/cogniti...
Below is the complete sheet of JSON returned by the service.
Cool parameter: hairColor (hair color)
There is one problem. There is no redhead in the service. Only blondes, brunettes, etc.
And we need redheads ... (
What should I do?

[
  {
    "faceId": "2beb38aa-b6bb-4c42-ac91",
    "faceRectangle": {
      "top": 189,
      "left": 407,
      "width": 81,
      "height": 81
    },
    "faceAttributes": {
      "hair": {
        "bald": 0.07,
        "invisible": false,
        "hairColor": [
          {
            "color": "blond",
            "confidence": 0.99
          },
          {
            "color": "brown",
            "confidence": 0.9
          },
          {
            "color": "red",
            "confidence": 0.7
          },
          {
            "color": "gray",
            "confidence": 0.28
          },
          {
            "color": "other",
            "confidence": 0.13
          },
          {
            "color": "black",
            "confidence": 0.01
          }
        ]
      },
      "smile": 0.998,
      "headPose": {
        "pitch": 0.0,
        "roll": -0.2,
        "yaw": -0.9
      },
      "gender": "female",
      "age": 22.0,
      "facialHair": {
        "moustache": 0.0,
        "beard": 0.0,
        "sideburns": 0.0
      },
      "glasses": "NoGlasses",
      "makeup": {
        "eyeMakeup": false,
        "lipMakeup": false
      },
      "emotion": {
        "anger": 0.001,
        "contempt": 0.0,
        "disgust": 0.0,
        "fear": 0.0,
        "happiness": 0.998,
        "neutral": 0.0,
        "sadness": 0.0,
        "surprise": 0.0
      },
      "occlusion": {
        "foreheadOccluded": false,
        "eyeOccluded": false,
        "mouthOccluded": false
      },
      "accessories": [],
      "blur": {
        "blurLevel": "low",
        "value": 0.07
      },
      "exposure": {
        "exposureLevel": "goodExposure",
        "value": 0.47
      },
      "noise": {
        "noiseLevel": "low",
        "value": 0.16
      }
    },
    "faceLandmarks": {
      "pupilLeft": {
        "x": 428.0,
        "y": 210.7
      },
      "pupilRight": {
        "x": 467.8,
        "y": 210.2
      },
      "noseTip": {
        "x": 448.1,
        "y": 235.9
      },
      "mouthLeft": {
        "x": 430.7,
        "y": 245.8
      },
      "mouthRight": {
        "x": 461.1,
        "y": 247.6
      },
      "eyebrowLeftOuter": {
        "x": 412.2,
        "y": 206.6
      },
      "eyebrowLeftInner": {
        "x": 439.0,
        "y": 207.3
      },
      "eyeLeftOuter": {
        "x": 421.5,
        "y": 210.2
      },
      "eyeLeftTop": {
        "x": 428.7,
        "y": 208.9
      },
      "eyeLeftBottom": {
        "x": 427.6,
        "y": 213.0
      },
      "eyeLeftInner": {
        "x": 434.8,
        "y": 211.6
      },
      "eyebrowRightInner": {
        "x": 455.2,
        "y": 207.8
      },
      "eyebrowRightOuter": {
        "x": 483.1,
        "y": 204.2
      },
      "eyeRightInner": {
        "x": 460.3,
        "y": 211.5
      },
      "eyeRightTop": {
        "x": 467.2,
        "y": 208.3
      },
      "eyeRightBottom": {
        "x": 467.6,
        "y": 213.2
      },
      "eyeRightOuter": {
        "x": 474.0,
        "y": 210.3
      },
      "noseRootLeft": {
        "x": 440.3,
        "y": 214.4
      },
      "noseRootRight": {
        "x": 455.0,
        "y": 214.1
      },
      "noseLeftAlarTop": {
        "x": 438.7,
        "y": 228.2
      },
      "noseRightAlarTop": {
        "x": 457.6,
        "y": 227.9
      },
      "noseLeftAlarOutTip": {
        "x": 436.1,
        "y": 233.3
      },
      "noseRightAlarOutTip": {
        "x": 461.1,
        "y": 232.9
      },
      "upperLipTop": {
        "x": 448.5,
        "y": 248.2
      },
      "upperLipBottom": {
        "x": 448.1,
        "y": 251.4
      },
      "underLipTop": {
        "x": 447.9,
        "y": 249.6
      },
      "underLipBottom": {
        "x": 448.0,
        "y": 254.2
      }
    }
  }
]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2018-08-30
@okovalev

"color": "red",
"confidence": 0.7

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question