I’m using a raspberry pi, python and opencv to capture a video and convert each frame to a heatmap.
The python-opencv processing and logic is working perfectly and each frame is displayed and processed correctly.
The raspberry pi and the camera are in a low light/dark room.
The problem in this case is the amount of light received by the camera is much lower than using a smartphone.
The smartphone will return brighter colours, much brighter whites, while the raspberry camera is returning pale and smooth greys.
I have tried setting several values using VideoCapture.set to set contrast, brightness, saturation, manual exposure, gain, … without luck.
I have also tried to enable night mode, to increase the exposure, but I couldn’t find any clue on how to do this using opencv::VideoCapture.
Do you know how to possibly increase the amount of light processed and accepted by the pi camera?
Raspberry Pi 3 B+
OS: Raspios buster
Smartphone: Nokia 5.3 (300€phone)