Loryta 4MP SD49425XB-HNR Tracking and Tuning

Michael James

Getting the hang of it
Joined
Dec 20, 2016
Messages
265
Reaction score
39
Right now, this camera is locking onto a target but not zooming in close enough to the target. What settings are adjustable for the amount of zoom going into a target?

Also, can anyone review these settings? Do they look right?

EIS is Off, Picture freeze off, Exposure 2D NR: ON, 3D NR: On, Exposure: Auto, Antiflicker: Outdoor, Backlight: Off, WB: Auto, Day & Night: ICR Auto, Digital Zoom: On, Mode: Semi Auto, Focus Limit: Auto, Sensitivty: High, PFA: On, IR Light: SmartIR, Defog: OFF, Motion Detection: On, SMD: Off,

Deep IVS:
Max Size: 8191 to 8191
Min Size: 0
Target Tracking size: 12
Action: Both Appears and Cross are checked
Track Time 300 (although in any other browser besides IE, it says 15)
Object Filter: Both Human and Motor Vehicle checked

Face Detection: Off

What should I do to tweak this?
Also, using Blue Iris 5

Attaching a video showing tracking.
 

Attachments

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,051
Reaction score
48,852
Location
USA
Tracking Target size is what makes it zoom in. The larger the number, the bigger the object is, but the easier it is to lose tracking.

Start with 35 and move from there.

Turn off SMD and MD. I repeat, turn off SMD and MD. Only use Smart IVS if you want it to track.

You will also need to get it off default settings (exposure, brightness, etc.) or it will struggle, especially at night.

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.

But first, run H264, smart codec off, CBR, and 8192 bitrate to start, along with 15 FPS and 15 i-frame.

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.
 

Michael James

Getting the hang of it
Joined
Dec 20, 2016
Messages
265
Reaction score
39
Tracking Target size is what makes it zoom in. The larger the number, the bigger the object is, but the easier it is to lose tracking.

Start with 35 and move from there.

Turn off SMD and MD. I repeat, turn off SMD and MD. Only use Smart IVS if you want it to track.

You will also need to get it off default settings (exposure, brightness, etc.) or it will struggle, especially at night.

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.

But first, run H264, smart codec off, CBR, and 8192 bitrate to start, along with 15 FPS and 15 i-frame.

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.
Thx so much for the insight. Please look at the image I'm attaching. I have slightly different settings. I have: "Shutter", "Gain", "Iris" and "Exposure Comp.
Based on these settings, what should I try first for day and night settings each?

These were your directions which are slightly different I think:

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.
 

Attachments

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,051
Reaction score
48,852
Location
USA
Yes that would be correct. Change shutter to 0-8.3 night and 4ms day. It will be easier to tweak the day than the night. Depending on your light, you may have to go to 16 to 20ms at night.
 

Firefighter

Getting comfortable
Joined
Jun 18, 2014
Messages
208
Reaction score
308
That's a ton of good info that should be stickied somewhere. I'm saving for when I get mine.
 

Michael James

Getting the hang of it
Joined
Dec 20, 2016
Messages
265
Reaction score
39
Yes that would be correct. Change shutter to 0-8.3 night and 4ms day. It will be easier to tweak the day than the night. Depending on your light, you may have to go to 16 to 20ms at night.
This is where I am getting confused. Shutter doesnt have that choice.
1. Mode: You can pick Auto, Aperture Priotirty, Shutter Prioirty, Gain Priority or Manual. I picked Manual.
2. Once changed to Manual, you have these choices for Shutter: 1/1000 thru 1/1 (including 1/90, 1/60 and every number you can imagine and a custom setting), but you cant pick 0-8.3 or 4 ms
3. Under that, you have Gain 0-100 and you have Iris 0-100. There is no Shutter setting in the format you provide.
4. Under that you have Exposure Comp (set at 25), AE Recovery (set at 15 minutes) 2D NR (ON with 25 Grade), 3D NR (On with 25 Grade). Not sure what these should be set for.
Please take a look at the pic I posted. I'm not sure if these settings are different for you. thx!
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,051
Reaction score
48,852
Location
USA
Open the pulldown that shows 1/30s and go to the very bottom and select customized range and then you can input ms

Also make sure you are using Internet Explorer - not Chrome or Edge with the IE tab. The track time will default to 15 seconds with any other browser but Internet Explorer. Plus some menu options may not show in another browser.

1665060635534.png
 

Michael James

Getting the hang of it
Joined
Dec 20, 2016
Messages
265
Reaction score
39
Tracking Target size is what makes it zoom in. The larger the number, the bigger the object is, but the easier it is to lose tracking.

Start with 35 and move from there.

Turn off SMD and MD. I repeat, turn off SMD and MD. Only use Smart IVS if you want it to track.

You will also need to get it off default settings (exposure, brightness, etc.) or it will struggle, especially at night.

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.

But first, run H264, smart codec off, CBR, and 8192 bitrate to start, along with 15 FPS and 15 i-frame.

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.

Question on target tracking size..... I have it set for 35 and its doing a decent job with near field from the house to the side walk and the house across the street. What its not doing a good job is picking up people and cars coming down the side street to our house (Left side of photo). My major concern is on people walking toward my house... I want to pick them up sooner. its doesnt start tracking until closer to my house. So does that mean I need to set Target Tracking Size for a lower number or higher number? I think 20 is the lowest it will go. Can go a lot higher than 35.
 

Attachments

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,051
Reaction score
48,852
Location
USA
Tracking too late is a completely separate issue. Target Tracking size is for AFTER the camera has started tracking.

The main issue is you are trying to do too much with one field of view.

The camera needs time to see the object, run it thru the algorithm, decide if it meets the criteria, and then act on it if it is something to track.

The edges of field of views can be problematic - the object is too small for one, and then you have all that background behind the object that the AI struggles with the smaller human size at that distance. AI works best when the subject is closer to the center of the field of view, not the edges.

That is why many of us utilize fixed cams to act as spotter cams to help guide the PTZ where to look.

So in my case I have overview cameras that act as spotter cams and when someone is coming from the left or right, the spotter cam calls up the PTZ to a preset looking that way to start the tracking.

So if someone coming down that side street is something you want to track, then you have another camera act as a spotter to direct the PTZ to look that way with another preset OR you set this camera to a preset zoomed in looking that way and use another camera to spot and bring the PTZ back to this field of view for anything from the right.

 
Top