Comment on Why does the permanent timestamp in CCTV footage sometimes change color?
Still@programming.dev 1 year ago
it’s for contrast, white text on light background is almost impossible to read same with dark on dark uses a per character or per pixel filter to determine the color of the text
ReginaPhalange@lemmy.world 1 year ago
It seems like over engineering when stuff like this are common knowledge.
CookieOfFortune@lemmy.world 1 year ago
Doesn’t seem like enough resolution for an outline to work.
dave@feddit.uk 1 year ago
Plus it’s probably more complex to engineer multi-colour (well, two colour) font rendering onto the video. Getting the background brightness for each character is as simple as adding all the pixel rgb values together and threshold in. It doesn’t need to be very accurate.
Tetsuo@jlai.lu 1 year ago
Also this conveniently doesn’t show white color background.
520@kbin.social 1 year ago
Still pretty readable on a white background. The black outline sees to that.
FuglyDuck@lemmy.world 1 year ago
That takes up more space than they care to give it
DV8@lemmy.world 1 year ago
Yellow with blue line us even better for CCTV use imo.