Comment on Why does the permanent timestamp in CCTV footage sometimes change color?
Still@programming.dev 10 months 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 10 months ago
It seems like over engineering when stuff like this are common knowledge.
CookieOfFortune@lemmy.world 10 months ago
Doesn’t seem like enough resolution for an outline to work.
dave@feddit.uk 10 months 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 10 months ago
Also this conveniently doesn’t show white color background.
520@kbin.social 10 months ago
Still pretty readable on a white background. The black outline sees to that.
FuglyDuck@lemmy.world 10 months ago
That takes up more space than they care to give it
DV8@lemmy.world 10 months ago
Yellow with blue line us even better for CCTV use imo.