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

Commit 8df3b2b3 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera: Document face detection confidence recommendations.

Bug: 7108023
Change-Id: I9de583254d127f9c1f702b7ed159a7080bcbfd25
parent d0c6ccba
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -1332,8 +1332,14 @@ public class Camera {
        public Rect rect;

        /**
         * The confidence level for the detection of the face. The range is 1 to 100. 100 is the
         * highest confidence.
         * <p>The confidence level for the detection of the face. The range is 1 to
         * 100. 100 is the highest confidence.</p>
         *
         * <p>Depending on the device, even very low-confidence faces may be
         * listed, so applications should filter out faces with low confidence,
         * depending on the use case. For a typical point-and-shoot camera
         * application that wishes to display rectangles around detected faces,
         * filtering out faces with confidence less than 50 is recommended.</p>
         *
         * @see #startFaceDetection()
         */