How to detect the light of red laser (small dots) using C++?

dial the exposure down so it’s not saturating the sensor and bleeding into other color channels

or make your mask include not just “red” but also saturated red with some green (=yellow)