[PATCH v1 0/3] Add Face Detection Controls

Harvey Yang chenghaoyang at chromium.org
Fri Aug 23 15:07:32 CEST 2024


Hi folks,

This series of patches adds face detection controls in the control ids,
the corresponding usages, and a c'tor of libcamera::Rectangle to
construct it easiler with face detection results.

This is one of the series cherry-picked from cros mtkisp7 branch.

The corresponding CLs in cros are:
https://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/4741266
https://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/4741267
https://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/5669229

The usages in pipeline handler mtkisp7 will be added later.

Please take a look. Thanks!

BR,
Harvey


Yudhistira Erlandinata (3):
  libcamera: Add rectangle two-point constructor
  libcamera: Add face detection controls
  libcamera: android: Add face detection control support

 include/libcamera/controls.h        |  6 +++
 include/libcamera/geometry.h        | 10 +++++
 src/android/camera_capabilities.cpp | 41 ++++++++++++++++--
 src/android/camera_device.cpp       | 64 +++++++++++++++++++++++++++--
 src/libcamera/control_ids_core.yaml | 42 +++++++++++++++++++
 src/libcamera/controls.cpp          |  6 +++
 src/libcamera/geometry.cpp          |  7 ++++
 7 files changed, 169 insertions(+), 7 deletions(-)

-- 
2.46.0.295.g3b9ea8a38a-goog



More information about the libcamera-devel mailing list