Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low Light Quality. Low frame rate when adding 'exposure_dynamic_framerate=1' #69

Open
RefineryX opened this issue Jan 2, 2020 · 4 comments

Comments

@RefineryX
Copy link

RefineryX commented Jan 2, 2020

I’m currently using the official NoIR camera module with a Raspberry Pi Zero. It works great so far, I'm getting the full 30fps but the camera is not good in low light conditions.

When I add exposure_dynamic_framerate=1 within /etc/sv/hkcam/run/ (see code extract below) - the lighting greatly improves but the frame rate drops to 5fps.

Anyone know how I can improve the lighting but still get close to the 30fps?

/etc/sv/hkcam/run/ file:

v4l2-ctl -c sharpness=30,exposure_dynamic_framerate=1,video_bitrate_mode=1,video_bitrate=30000000,auto_exposure=1,scene_mode=8,compression_quality=100
exec hkcam --min_video_bitrate=800 --data_dir=/var/lib/hkcam/data --verbose=true```
@AndreaCCIE
Copy link

Simply, you can't without an external light source (infrared in your case). NoIR doesn't mean night vision by itself, just no infrared filter.

@RefineryX
Copy link
Author

Thanks @AndreaCCIE

I get that and I will have an IR light attached to give full night vision.

I guess I am asking about contains where in person it looks light enough to see (I.e. rooms where there is one lamp). The default out of the box profiles does not work and pick up any of room. Note the room is not in total darkness.

But when adding exposure_dynamic_framerate=1 it brightens everything up from the frame rate greatly suffers - dropping from 30fps to 3fps

@AndreaCCIE
Copy link

No camera has the same eye sensitivity to light, so even if you can clearly see something doesn't mean the sensor can capture it.
dynamic frame rate will drop the fps to increase the exposure time, so dropping to less than 10 fps is the expected behaviour on cheap sensors.

@brutella
Copy link
Owner

brutella commented Mar 7, 2022

Is there anything hkcam can do to resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants