GCPBreaking change
Cloud Vision: face detection emotion likelihood fields return UNKNOWN
From 14 Jan 2027, the joyLikelihood, sorrowLikelihood, angerLikelihood and surpriseLikelihood fields in FaceAnnotation of the Cloud Vision API permanently return UNKNOWN for all projects. Since 15 Oct 2026, these fields return UNKNOWN for new projects and projects without recent Face Detection usage.
Breaking from , 14 Jan 2027
What breaks
Google has deprecated the emotion label response for face detection (FACE_DETECTION) in the Cloud Vision API. From 14 Jan 2027, the joyLikelihood, sorrowLikelihood, angerLikelihood and surpriseLikelihood fields in FaceAnnotation permanently return UNKNOWN for all projects. Since 15 Oct 2026, these fields return UNKNOWN for new projects and projects without recent Face Detection usage. Google's face detection guide states that a FACE_DETECTION response includes bounding boxes for all faces detected, landmarks detected on the faces, and confidence ratings for face and image properties.
What to do
Google has not published migration steps. See the source for details.
Replacement
Not stated by vendor.
Sources
- Official sourcedocs.cloud.google.comOfficial
- Additional sourcedocs.cloud.google.comOfficial
Last checked against the first source in this list on .
Found an error? Report it
The text on this page is drafted with AI assistance from the vendor's text, checked against the official source and approved by a person before it is published. How items are written
Last checked · Added · Changelog for this item