Watching football this fall, I've been thinking about a little box that sits on my table and mutes the TV whenever an ad comes on.
Not decoding HDMI HDCP or anything, but a webcam + AI or whatever that watches football with me and mutes ads. Similar to plane detection, maybe. Are there any projects like this?
I wanted to do this too! I'm an "idea man" that doesn,t deliver, though. Here is my feature list:
* auto commercial block using audio fingerprinting and duration, so if it finds the ad, it knows the ad will last 10-15-30-60 seconds.
* frame-slowdown. often ads just show way too many frame jumps in rapid succession. If this is detected, visual mute would freeze one of the frames and only allow a jump after 5-10s.
* visual mute - if the commercial is not identified audibly, have a blur or black box that covers 85% of the center of the screen. you would un-mute it when you recognize your game from the borders.
* logo-blur. OpenCV to recognize most common ad logos and blur or black them
* commercial-over-dub. allow funny joke audio to be played over existing, known commercials. So when they show insurance ads, someone can say "yeah they didn't pay my $40k roof claim because I didn't have hail coverage", right over the insurance logo
* announcer over-dub. This would allow aspiring sports announcers (or comedians) to have their audio played in place of the game audio. This would require some visual sync, which would include a few seconds of delay. I bet there are some really good announcers out there who would love a chance to announce a game. Also some really funny smart-asses , or you could choose a biased announcer who roots with you for YOUR team and disparages the other!
Usually football trasmissions have identifiable elements in the screen, such as the score, the match title, etc... and those are fixed elements that do not appear in ads. For example: https://i.imgur.com/blebca8.png
Or the title bar below. You could do some basic OCR on a Pi, when the team names are readable, keep the volume up, when they are not, disable it.
Years ago Microsoft TV had a free 3rd party extension that analyzed the video and skipped the commercials. Amazingly you could see the downloaded video, there wasn't drm on that in the early days. There were several tools like this.
I think you could do this. If you had a web page logged into the same program it could analyze the video. I wonder if people build "video scraping" from web page tv apps, probably some drm blocking thing.
There also used to be subsonic chimes or something simila on the network tv audio to signal to some other server (maybe at the local tv station?) that would know to automatically run a commericial right now.
Perfect timing! I got annoyed by Ads in streaming services and decided to build something to mute the TV when an Ad comes on. Simple vision based system.
Rk3588's have HDMI input (I think with hdcp decoding) that you can use v4l2 API. The multiplane API can be a bit tricky, but otherwise somewhat trivial
I recommend to not show dates as it can easily help triangulate your location of where this Pi is running, and with the internet crowd, doxxing yourself is never a good idea.
Really cool. I've considered doing something similar for alerting me of things seen in the air but without a transponder turned on. Good tip about the birds, I wouldn't have anticipated that ha.
Aside, the way air travel still happens out in the open in terms of communications data has a real early Internet vibe to me.
I'm kind of surprised that they would park it next to other planes like that. Especially with what appears to be no ground troops surrounding the plane.
This is great. So I’ve thought of doing something slightly similar but with a raspberry Pi and camera to identify if there is a free parking space right outside our house (we live in a terraced house with no driveway)
I think this has been done for public places. A lazy approach (not using ML) is cropping/contour finding, then masking (opencv) against an empty parking lot, so if something is there like a car, would change the result.
The black parking lot would change in shade/hue so have to account for a range.
Given that drone warfare is now a thing this seems like it could be useful as the basis of a personal drone detection and warning kit that soldiers could wear over their helmet to spot drones and give say an audible warning in the soldiers ears that lets the soldier locate the drone direction and maybe azimuth with pitch - lower frequency for a low drone and high for one more overhead. Not sure if such a thing already exists. That and a shotgun would be a reasonable defense.
Haha, I'm working on fixing that. One of my ideas is to run inference again on an image to check if it has any birds. If yes, reject the image.
It's a really cool time to be checking right now! All commercial flights are grounded in Delhi for Republic Day celebrations so I'm able to see images of Air Force planes!
Every single one of those pictures, even the blurry ones, even the ones taken at night, all look like airplanes.
People aren't getting airplanes confused with drones because they look the same. People are getting worked up about drones because of collective paranoia, and then they are seeing what they want to see.
Um, no, I can't actually. Like, not even close to being able to relate to what you're suggesting. These are all single frames and frozen in time. Watching any of these actually moving would even reduce that possibility even further.
Not criticizing you but it will never not be funny to me that crazy people have tried to legitimize seeing alien spaceships by renaming them from UFOs to UAPs. It’s like the conspiracy theorist version of unhoused.
croisillon|1 year ago
My toddler loves planes, so I built her a radar (November 2023) https://news.ycombinator.com/item?id=38435908
My toddler still loves planes, so I upgraded her radar (January 2024) https://news.ycombinator.com/item?id=39094288
obviyus|1 year ago
pkamb|1 year ago
Not decoding HDMI HDCP or anything, but a webcam + AI or whatever that watches football with me and mutes ads. Similar to plane detection, maybe. Are there any projects like this?
gosub100|1 year ago
* auto commercial block using audio fingerprinting and duration, so if it finds the ad, it knows the ad will last 10-15-30-60 seconds.
* frame-slowdown. often ads just show way too many frame jumps in rapid succession. If this is detected, visual mute would freeze one of the frames and only allow a jump after 5-10s.
* visual mute - if the commercial is not identified audibly, have a blur or black box that covers 85% of the center of the screen. you would un-mute it when you recognize your game from the borders.
* logo-blur. OpenCV to recognize most common ad logos and blur or black them
* commercial-over-dub. allow funny joke audio to be played over existing, known commercials. So when they show insurance ads, someone can say "yeah they didn't pay my $40k roof claim because I didn't have hail coverage", right over the insurance logo
* announcer over-dub. This would allow aspiring sports announcers (or comedians) to have their audio played in place of the game audio. This would require some visual sync, which would include a few seconds of delay. I bet there are some really good announcers out there who would love a chance to announce a game. Also some really funny smart-asses , or you could choose a biased announcer who roots with you for YOUR team and disparages the other!
concerndc1tizen|1 year ago
Related:
In Black Mirror, they pause the advertisement when you disable the sound.
So maybe you'll eventually have to use a separate sound system whereby they cannot detect that you're muting it.
Then, they'll track your eyes and require you to watch the screen :)
At which point do you stop consuming?
pplante|1 year ago
konraditurbe|1 year ago
Or the title bar below. You could do some basic OCR on a Pi, when the team names are readable, keep the volume up, when they are not, disable it.
Alive-in-2025|1 year ago
I think you could do this. If you had a web page logged into the same program it could analyze the video. I wonder if people build "video scraping" from web page tv apps, probably some drm blocking thing.
There also used to be subsonic chimes or something simila on the network tv audio to signal to some other server (maybe at the local tv station?) that would know to automatically run a commericial right now.
d33dd3d3|1 year ago
rhcom2|1 year ago
naveen_k|1 year ago
I'll post a write up in a few days.
benhoff|1 year ago
savrajsingh|1 year ago
gsich|1 year ago
ideashower|1 year ago
mt_|1 year ago
gruez|1 year ago
jparishy|1 year ago
Aside, the way air travel still happens out in the open in terms of communications data has a real early Internet vibe to me.
gosub100|1 year ago
this person has some sort of OpenCV setup from a high-rise view. (bonus: Air Force One is currently there)
dylan604|1 year ago
1024core|1 year ago
[deleted]
bazmattaz|1 year ago
ge96|1 year ago
The black parking lot would change in shade/hue so have to account for a range.
dave333|1 year ago
nradov|1 year ago
neurostimulant|1 year ago
This plane suspiciously looks like a bird though: https://i.imgur.com/cUdnZTN.png
obviyus|1 year ago
It's a really cool time to be checking right now! All commercial flights are grounded in Delhi for Republic Day celebrations so I'm able to see images of Air Force planes!
cactusplant7374|1 year ago
RIMR|1 year ago
People aren't getting airplanes confused with drones because they look the same. People are getting worked up about drones because of collective paranoia, and then they are seeing what they want to see.
dylan604|1 year ago
DoneWithAllThat|1 year ago
discordance|1 year ago
noppanut15|1 year ago
unknown|1 year ago
[deleted]
Scoundreller|1 year ago
Jan 26, 2025 ~2:45 PM
IGO • A20N ROUTE AJL → DEL ALTITUDE 1,325 FT GROUND SPEED 137 KTS VERT. SPEED -768 FT/MIN
https://pilane.obviy.us/_astro/38e014bd.CJs63r7b_Z2lCImg.web...
obviyus|1 year ago
computers3333|1 year ago
OutOfHere|1 year ago