[libcamera-devel] [PATCH 0/1] cam: Add Rectangle type parsing in capture script

Daniel Semkowicz dse at thaumatec.com
Wed Jun 22 18:02:25 CEST 2022


Hi,

This change adds the Rectangle type parsing in capture script.
This allows usage of controls that use rectangle, for example AfWindows.

Example usage in capture script:

frames: 
  - 10:
      AfWindows:
        - [ 10, 20, 100, 200 ]
        - [ 500, 500, 100, 100 ]
      
or

frames: 
  - 10:
      AfWindows: [[ 10, 20, 100, 200 ]]

Best regards
Daniel Semkowicz

Daniel Semkowicz (1):
  cam: Add Rectangle type parsing in capture script

 src/cam/capture_script.cpp | 104 +++++++++++++++++++++++++++++++++----
 src/cam/capture_script.h   |   9 +++-
 2 files changed, 102 insertions(+), 11 deletions(-)

-- 
2.34.1



More information about the libcamera-devel mailing list