In the Azure Cognitive Services Face API (see e.g. https://azure.microsoft.com/en-us/services/cognitive-services/face), the following response fields never seem to trigger:
- headPose:pitch (reserved field)
- foreheadOccluded
- eyeOccluded
Am I misusing these, or is there a plan for them, or is there no plan to activate them?
If you look at the API documentation here:
headPose
, it says:EDIT 13/06/2019: doc was saying
Now changed to:
For the
foreheadOccluded
value, I successfully gottrue
value in the following test, where there is a cap on the head (sorry for the sample, did not find anything else quickly!):https://westeurope.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&returnFaceAttributes=occlusion
{ "url": "https://www.knijff.com/markmatters/wp-content/uploads/2015/10/Trump-Red-Hat.jpg" }
Reply received:
For the
eyeOccluded
value, I successfully gottrue
andfalse
values in the following test where the same person appears 2 times, one with a rectangle over the eyes:https://westeurope.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&returnFaceAttributes=occlusion
{ "url": "https://jov.arvojournals.org/data/Journals/JOV/933685/i1534-7362-14-13-14-f09.png" }
Reply received (please note that 1st face is the right one):