signag / raspi-cam-srv

Web Server for Raspi Camera Access
MIT License
67 stars 7 forks source link

NoIR camera settings #26

Open mister-bogus opened 2 months ago

mister-bogus commented 2 months ago

How can I include the settings for my V2.1 NoIR camera in order to get rid of the red tint?

In picamera the code is like this:

tuning = Picamera2.load_tuning_file("imx219_noir.json") picam2 = Picamera2(tuning=tuning)

Thank you!

signag commented 2 months ago

Thanks for the hint.

I did not deal with tuning so far because I assumed that libcamera would automatically load the appropriate tuning files.

Let me see how to integrate explicit tuning support into raspiCamSrv.

signag commented 2 months ago

With V2.10.0, raspiCamSrv supports handling of tuning files.

I hope this covers what you need.

If you are using a Pi5 with 2 cameras, you should regard the note in the Release Notes as well as the chapter Tuning with Multiple Cameras

mister-bogus commented 2 months ago

Thanks a lot. Works great!