Camera Setting to Improve the Quality

onyxlinkia

Getting the hang of it
Joined
Aug 16, 2015
Messages
158
Reaction score
62
This is my front porch camera(T5442T-ZE). Without the porch light, and just using the IR, the quality is much better. What should I do in this situation? The porch light is needed else it's too dark by the front porch. Can I force the IR to turn on at certain time?
 

Attachments

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,885
Reaction score
48,547
Location
USA
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. You need to get off of default. These are done within the camera GUI thru a web browser.

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.

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.
 

CCTVCam

Known around here
Joined
Sep 25, 2017
Messages
2,671
Reaction score
3,497
The porch light is fooling the exposure. Do you have exposure set to auto? If so I suggest setting up manual exposure for night. That would enable you to adjust the dark areas. It might come at the expense of over exposure by the light though which could equal loss of faces.

Why do you need the porch light at night? Seems to be plenty of ambient light unless some of that switches off or dims later.

Another approah that might help might be to switch out the porch bulb for a very low power led eg 3 or 4 watts. That way you retain some token light, but reduce the effect on the camera.
 

onyxlinkia

Getting the hang of it
Joined
Aug 16, 2015
Messages
158
Reaction score
62
The porch light is fooling the exposure. Do you have exposure set to auto? If so I suggest setting up manual exposure for night. That would enable you to adjust the dark areas. It might come at the expense of over exposure by the light though which could equal loss of faces.

Why do you need the porch light at night? Seems to be plenty of ambient light unless some of that switches off or dims later.

Another approah that might help might be to switch out the porch bulb for a very low power led eg 3 or 4 watts. That way you retain some token light, but reduce the effect on the camera.
Yea, it's current at auto exposure. It's very dark without porch light here, we don't have street light. The porch light has built in less which I can't swap out. It's turned on when the sun sets.

The light you saw is probably from next door's.
 
Last edited:

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,885
Reaction score
48,547
Location
USA
Once you take it off auto exposure and start doing the settings I suggested, you will learn really quickly whether you have enough light or not.
 

onyxlinkia

Getting the hang of it
Joined
Aug 16, 2015
Messages
158
Reaction score
62
Once you take it off auto exposure and start doing the settings I suggested, you will learn really quickly whether you have enough light or not.
I already read your posts before and had these set:

H264
8192 bitrate
CBR
15FPS
15 iframes

But doing manual shutter didn't yield good results so I switched back to auto. I will have to play with the settings again.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,885
Reaction score
48,547
Location
USA
Just remember auto settings gives you a nice bright static image, but a perp walking by will be a blur.

Just like TVs, we migrate towards the brightest, but do the settings with the faster shutter, and yes it will be darker, but after a day or two you will get used to it.

It is a challenge for us when we first start these things because we like nice and bright, but I will take a darker image that gives me a clean capture of the perp than a bright image that is blur any day.
 

Perimeter

Getting comfortable
Joined
Feb 18, 2023
Messages
557
Reaction score
581
Location
Europe
You can force the camera to operate on infrared iirc. Or you force night mode to operate on IR. For day and night mode you can set a schedule in Profile. So you bring on IR at a time of your choice.

You could also place a sticker on the lamp to block direkt light on the cam.
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,334
Reaction score
48,412
Location
Floriduh
Depends on your objective.

You need to test with a real person moving in the scene. Don’t rely on a still picture. For instance the 2nd image is going to backlight the subject at the door and diminish the face shot.

Assuming your primary goal is to get good face capture at the doorway, I’d leave the porch light on. I’ve done that with 5442’s for years. And as mentioned “Auto” is not your friend. You need to run at 1/120 or at min 1/60 manual shutter to avoid motion blur in that scene.

For the vehicle/drive you need a second camera.
 
Top