1. Azure AI Face Documentation, "Face detection and attributes": This document explicitly states that the Face service can detect facial attributes. The occlusion attribute determines if parts of the face are blocked, which is used for mask detection. The accessories attribute can identify items like glasses.
Reference: Microsoft Learn, Concepts - Face detection and attributes, Section: "Attributes".
2. Azure AI Face API v1.0 Reference, "Face - Detect With Stream": The API documentation shows that the returnFaceAttributes parameter can be set to request accessories and occlusion, directly supporting the solution's requirements.
Reference: Microsoft Learn, Face API v1.0 reference - Face - Detect With Stream, Section: "Request parameters", returnFaceAttributes enum values.
3. Azure AI Computer Vision Documentation, "Object detection": This documentation shows that Computer Vision detects a set of common objects. While it might detect "glasses," it is not designed to specifically analyze them in the context of a face, nor does it have a built-in attribute for masks.
Reference: Microsoft Learn, Quickstart: Image Analysis 4.0 client library, Section: "Detect objects".