Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8015

Camera board • RaspberryPi2B + RaspberryPiCameraNoIRv2: how to use tuning file for fix red-color issue?

$
0
0
Hi Everybody, again...

Please have a closer look at the (following) attachment and no need more words what is the problem.
raspberrypi2_motion_service_error.png

In short:
Device: Raspberry Pi 2B [+Raspberry Pi camera NoIR V2 (imx219)]
OS: Raspberry Pi OS (12, Bookworm) with desktop and recommended software
Installed: Motion (+Apache2+MariaDB+PHP+phpMyAdmin)
Motion:
1.: gives video (pictures) "http://... :8081" after runing "sudo libcamerify motion"-command
2.: the given pictures are full of red-color (because of NoIR)
3.: using the blue-filter-slice (besides the camera device) in front of the lens in vain (the picture is still red)
4.: try to use:
-"export LIBCAMERA_RPI_TUNING_FILE=/usr/share/libcamera/ipa/rpi/vc4/imx219_noir.json"
-"sudo service motion restart"

Well, I could not use the tuning-file no-any-way and motion did not want to run as a service (which is consist the environment variable)

Is there anybody to give me a good idea to take the next step in this path?

Statistics: Posted by charliebebit — Thu Apr 10, 2025 12:59 pm



Viewing all articles
Browse latest Browse all 8015

Trending Articles