Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36185a4b authored by Alex Ray's avatar Alex Ray
Browse files

Camera: Log warning on out-of-range face detect scores

Bug: 7368364
Change-Id: I7b1e995dd15e87c816b89ccf9968a222fd66d140
parent 8d4c382d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -247,6 +247,10 @@ status_t FrameProcessor::processFaceDetect(const CameraMetadata &frame,
                metadata.number_of_faces--;
                continue;
            }
            if (faceScores[i] > 100) {
                ALOGW("%s: Face index %d with out of range score %d",
                        __FUNCTION__, i, faceScores[i]);
            }

            camera_face_t face;