How to adjust camera parameters (color saturation, exposure, white balance) on C++ with OpenCV on Pico Ultra W/SC3336

  • The Luckfox Pico Ultra relies on rkaiq to start the ISP and configure sensor parameters such as color and exposure. Adjustments need to be made by modifying the IQ files. Refer to the saturation section in the attached document to modify /etc/iqfiles/sc3336_CMK-OT2119-PC1_30IRC-F16.json.

    The startup execution order is as follows:

    Code: Select all

    killall rkipc
    rkaiq_3A_server &
    #Run your image capture program
    
  • My project implements the ability to call the ISP to modify saturation, sharpness, etc. Although it's mainly a Python library, I also provide a C++ interface: https://github.com/yiex/visiong
    You can either directly call my library, or look at the specific implementation in my code (visiong/src/modules/ISPController.cpp) to adapt it for your own program.