Module parameter is perfect for my use case, since I pretty much always want HCG enabled.
Unfortunately I'm seeing no difference with the images taken with HCG compared to those without, using this script:
There's a good chance I'm misunderstanding how this should work.
Unfortunately I'm seeing no difference with the images taken with HCG compared to those without, using this script:
Code:
#!/bin/bashsudo bash -c "echo 0 > /sys/module/imx290/parameters/hcg_mode"rpicam-still --immediate --analoggain 1 --shutter 300 --awb cloudy --raw -o test.jpg # throwaway image to force gain to changerpicam-still --immediate --analoggain 2 --shutter 300 --awb cloudy --raw -o test-LCG.dngsudo bash -c "echo 1 > /sys/module/imx290/parameters/hcg_mode"rpicam-still --immediate --analoggain 1 --shutter 300 --awb cloudy --raw -o test.jpg # throwaway image to force gain to changerpicam-still --immediate --analoggain 2 --shutter 300 --awb cloudy --raw -o test-HCG.dng
Statistics: Posted by evankrall — Thu May 16, 2024 2:12 am