Camera setup for best image capture

SledMack

n3wb
Dec 27, 2023
23
4
Pennsylvania
Hello,
A while back I remember seeing a thread on camera settings for the best image captures, including at night. I've searched for hours, but haven't found it. I saw it a year ago when I had Foscam cameras that didn't have the settings available. I've upgraded to some cameras from Empire Tech. The default settings aren't bad, but I think I can get better. If someone could point me to that thread I would really appreciate it.
Thanks.
 
Probably my post LOL:

In terms of getting the most out of the camera, here is my "standard" post that many use as a start for dialing in day and night that helps get the clean captures and help the camera recognize people and cars.

Start with:

H264
8192 bitrate
CBR
15FPS
15 iframes

Every field of view is different, but I have found you need contrast to usually be 6-8 higher than the brightness number at night.

We want the ability to freeze frame capture a clean image from the video at night, and that is only done with a shutter of 1/60 or faster. At night, default/auto may be on 1/12s shutter or worse to make the image bright.

In my opinion, shutter (exposure) and gain are the two most important parameters and then base the others off of it. Shutter is more important than FPS. It is the shutter speed that prevents motion blur, not FPS. 15 FPS is more than enough for surveillance cameras as we are not producing Hollywood movies. Match iframes to FPS. 15FPS is all that is usually needed.

Many people do not realize there is manual shutter that lets you adjust shutter and gain and a shutter priority that only lets you adjust shutter speed but not gain. The higher the gain, the bigger the noise and see-through ghosting start to appear because the noise is amplified. Most people select shutter priority and run a faster shutter than they should because it is likely being done at 100 gain, so it is actually defeating their purpose of a faster shutter.

Go into shutter settings and change to manual shutter and start with custom shutter as ms and change to 0-8.3ms and gain 0-50 (night) and 0-4ms exposure and 0-30 gain (day)for starters. Auto could have a shutter speed of 100ms or more with a gain at 100 and shutter priority could result in gain up at 100 which will contribute to significant ghosting and that blinding white you will get from the infrared or white light.

Now what you will notice immediately at night is that your image gets A LOT darker. That faster the shutter, the more light that is needed. But it is a balance. The nice bright night static image results in Casper blur and ghost during motion LOL. What do we want, a nice static image or a clean image when there is motion introduced to the scene?

In the daytime, if it is still too bright, then drop the 4ms down to 3ms then 2ms, etc. You have to play with it for your field of view.

Then at night, if it is too dark, then start adding ms to the time. Go to 10ms, 12ms, etc. until you find what you feel is acceptable as an image. Then have someone walk around and see if you can get a clean shot. Try not to go above 16.67ms (but certainly not above 30ms) as that tends to be the point where blur starts to occur. Conversely, if it is still bright, then drop down in time to get a faster shutter.

You can also adjust brightness and contrast to improve the image. But try not to go above 70 for anything and try to have contrast be at least 7-10 digits higher than brightness.

You can also add some gain to brighten the image - but the higher the gain, the more ghosting you get. Some cameras can go to 70 or so before it is an issue and some can't go over 50.

But adjusting those two settings will have the biggest impact. The next one is noise reduction. Want to keep that as low as possible. Depending on the amount of light you have, you might be able to get down to 40 or so at night (again camera dependent) and 20-30 during the day, but take it as low as you can before it gets too noisy. Again this one is a balance as well. Too smooth and no noise can result in soft images and contribute to blur.

Do not use backlight features until you have exhausted every other parameter setting. And if you do have to use backlight, take it down as low as possible.

After every setting adjustment, have someone walk around outside and see if you can freeze-frame to get a clean image. If not, keep changing until you do. Clean motion pictures are what we are after, not a clean static image.
 
  • Like
Reactions: Crows and RyanB
For reference, I'm using this camera:

It has a Self Adaptive Mode and a Customized Scene Mode. I'm really struggling to get the Customized settings to work any better than the Self Adaptive. Are these newer cameras good at self adjusting? Or am I just bad at adjusting the manual settings?

When I change the shutter mode to manual, I can control the shutter speed, gain, and iris. What should the iris be set at? I'm not sure what that does? I don't see any difference when I make changes to that.

Also, for those settings the entry is a range. Do I just leave the lower end at 0?

In daylight, the camera will detect me and auto-track on me at 200 feet. At night, I have to get within about 50. Then everything around me is dark, but my image is bright and washed out. If I make the image brighter so that the IVS can detect me, then it is basically washed out.

I'm still working on this, but I feel like I'm going in circles.
Thanks.
 
The thing to keep in mind is the self-adaptive will tend to favor a brighter static image, which in lower light means that there will tend to be motion blur due to running slower shutters.

Now with a PTZ that is tracking, because the camera is moving with the subject, you can get by with slower shutters in some situations. I have captured some plates in color with a 1/50 (20ms) shutter because of the tracking. You would NEVER capture a plate of a moving vehicle at a 1/50 shutter with a fixed camera. But I don't catch them all with a 1/50 shutter LOL, but do every once in awhile.

You can just leave iris at the default. Rarely have I seen that make a difference.

The lower range left at 0 is ok, but if you know you will never have enough light to get that low, then it also makes sense to make it number to tighten up the range the camera has to work with.

Differences between day and night tracking are drastic with a PTZ, especially one like this one that is not on the ideal MP/sensor ratio - this one needs more light to compensate for more pixels.

The more the PTZ zooms in, the worse the aperture gets and the more light that is needed. That is why it struggles at 200 feet at night.

It is a matter of trying to adjust all the parameters to compromise. As you said, if you make the image brighter to see further, everything is washed out. If you set up the PTZ to be clear close, then distance suffers.

Unless you have stadium quality light, just accept that this PTZ will struggle beyond say 100 feet or so at night, so dial in the settings for up close. That would be a faster shutter and then playing with the different infared modes to figure out which one works in your situation. It could be zoom priority, auto, manual, etc.
 
You're going to struggle with night color on that camera. Any 4MP camera with a 1/2.8" sensor will struggle in low light.
4MP really needs a bigger 1/1.8 sensor

Here's some settings I was running on a similar camera, with street lights. Same4MP on 1/2.8 sensor.

445-Night1.jpg 445-Night2.jpg 445-Night3.jpg 445-Night4.jpg
 
And now I "broke" something. It was going into night mode automatically based on darkness. Now it is stuck in day mode. If I go to Self Adaptive, it turns on the IR lights. I might just leave it there for tonight and have at it again tomorrow.
 
^Yep and you see how dark the image is with streetlights!

These sensors need lots of light, especially PTZs at distance and especially ones on less than ideal MP/sensor ratios.
 
And now I "broke" something. It was going into night mode automatically based on darkness. Now it is stuck in day mode. If I go to Self Adaptive, it turns on the IR lights. I might just leave it there for tonight and have at it again tomorrow.

This camera doesn't have the day/night option based on darkness. You have to set the schedule to force a day and night profile.

The other alternative is to have one set of settings to use 24/7 and based on light go to color or B/W based on the day & night setting of auto - but this isn't the same day and night option that uses the different profiles - that can only change with the schedule.
 
I just saw these new posts. I'm not trying to have color at night. I've got the white light off and just using the IR lights. I'd prefer not to have the white light on all night since it faces the house. Is that going to be more of a problem just using IR and BW image?
 
  • Like
Reactions: bigredfish
I just saw these new posts. I'm not trying to have color at night. I've got the white light off and just using the IR lights. I'd prefer not to have the white light on all night since it faces the house. Is that going to be more of a problem just using IR and BW image?

No my post was in relation to IR/BW and the compromises needed between distance and near at night - you need to decide on one and I would chose near.

The white lights on this camera suck and barely produce a useable image 15 feet in front of the camera.
 
I just saw these new posts. I'm not trying to have color at night. I've got the white light off and just using the IR lights. I'd prefer not to have the white light on all night since it faces the house. Is that going to be more of a problem just using IR and BW image?

With that camera you’re better off in B&W IR mode. It will still struggle at night without lots of ambient light
 
  • Like
Reactions: SledMack
This camera doesn't have the day/night option based on darkness. You have to set the schedule to force a day and night profile.

The other alternative is to have one set of settings to use 24/7 and based on light go to color or B/W based on the day & night setting of auto - but this isn't the same day and night option that uses the different profiles - that can only change with the schedule.
Interesting. I must have been lucky with the 24/7 and in the process of making changes stepped on something by accident. The other cameras switch based on light. Just set roughly for sunrise/sunset? A little bit off either direction shouldn't matter much?
 
That’s what i do