image corruption

PeteJ

Getting the hang of it
Jan 14, 2025
183
85
California
This is from a Uniview camera on H.264 10fps, 1/5 key frame. I don't see this when looking at the web interface on the camera, but when I look at BI, this is pretty common at night, and happens from time to time during the day. Any idea what might be causing this? I am using decode acceleration on BI (Intel + VPP), not sure if that might be the reason?

Screenshot from 2025-04-06 11-40-26.png
 
Disabling hardware accel worked. Doesn't seem to make the CPU work any harder either. The quality does seem poorer tho, i'm going to flip it back on and see if the quality improves.
 
Quick sync/hardware acceleration isn't really needed anymore and it can be an energy hog.

Around the time AI was introduced in BI, many here had their system become unstable with hardware acceleration (hardware decode) (Quick Sync) on (even if not using DeepStack or CodeProject). Some have also been fine. I started to see errors when I was using hardware acceleration several updates into when AI was added.

This hits everyone at a different point. Some had their system go wonky immediately, some it was after a specific update, and some still don't have a problem, but the trend is showing running hardware acceleration will result in a problem at some point.

However, with substreams being introduced, the CPU% needed to offload video to a GPU (internal or external) is more than the CPU% savings seen by offloading to a GPU. Especially after about 12 cameras, the CPU goes up by using hardware acceleration. The wiki points this out as well.

Plus substreams opens up the possibility for older machines to be just fine, along with non-intel computers.

My CPU % went down by not using hardware acceleration.

Here is a recent thread where someone turned off hardware acceleration based on my post and their CPU dropped 10-15% and BI became stable.

But if you use HA, use plain intel and not the variants.

Some still don't have a problem, but eventually it may result in a problem.

Here is a sampling of recent threads that turning off HA fixed the issues they were having....

No hardware acceleration with subs?


Hardware decoding just increases GPU usage?


Can't enable HA on one camera + high Bitrate


And as always, YMMV.
 
  • Like
Reactions: bp2008 and PeteJ
Thanks @wittaj, I always learn a lot from your details replies. :)

I just tried the Intel hw decode (was using intel +vpp) and I was still getting the corruption, so I switched to Intel Beta just to see what happens.

Yeah, I was having some BI issues, and one of the first things support tells you to do is disable hw decode...
 
  • Like
Reactions: bp2008
I get this in Rekor Scout sometimes, with no decode acceleration
 
What is the camera streaming data at? like 4096 Mbps or what? whats the substream data thruput?
this my old 2mp 3241ZAS . maybe you could up the substream so the console looks better?
What processor are you running and how many cams?
image_2025-04-08_012432673.png 1744093369329.png
 
What is the camera streaming data at? like 4096 Mbps or what? whats the substream data thruput?
this my old 2mp 3241ZAS . maybe you could up the substream so the console looks better?
What processor are you running and how many cams?
View attachment 218702 View attachment 218701

I was at 2048, bumped it a few times to 4096 on a 1080p stream. It'll take me a day or so to see if it makes a difference.

I'm trying to improve stuff like this... (I believe this was when I had hw decode turned off)

Screenshot from 2025-04-07 23-57-51.png

This is my typical

Screenshot from 2025-04-08 00-01-22.png
 
Could be. The sprays are usually not effective in daylight, but that could be a very dirty plate, too. I'll post the next one that I see that I know doesn't have a plate cover, paper, or dirt. It happens a few times a day.
 
Quick update. I've found that the default settings on the camera are terrible for LPR. The color saturation was too low for me to tell the color of the tags, and overall the image was too soft and probably contributed to the OCR error rate slightly. I've bumped color saturation, contract, sharpness up a lot and I think it helps. Bright color cars look super weird, but thats a small price to pay. :)

Screenshot from 2025-04-10 12-05-01.pngScreenshot from 2025-04-10 12-08-20.png
 
Are you able to zoom in more? From the clips at the start it looks like you're quite far away

My plates appear much clearer than yours, because I'm almost all the way zoomed into the road

1744314944142.png

1744314932598.png
 
  • Like
Reactions: bigredfish
Are you able to zoom in more? From the clips at the start it looks like you're quite far away

My plates appear much clearer than yours, because I'm almost all the way zoomed into the road

View attachment 218850

View attachment 218849

I'm at 8.5x zoom, so I have a little left (10x) but at full zoom, there is a little more distortion and I am also using this to catch traffic in both directions, so more zoom means I am going to have to decide which traffic I want more...
 
ok... so too much goodness gives you some badness

Screenshot from 2025-04-10 16-37-10.pngScreenshot from 2025-04-10 16-42-40.pngScreenshot from 2025-04-10 16-42-25.pngScreenshot from 2025-04-10 16-42-13.png

Now OCR is reading the plate as Balifornia. Think about that for a sec... it thinks the cursive font that's 1/4 the size of the letters in the plate is the plate.

I wonder if Trump can rename my state to Balifornia. That would be pretty awesome.