Live data from Hacker News

NHL goal celebration hack: real-time machine learning and hue light show

blog.francoismaillet.com

1–10 of 48 posts

Re: NHL goal celebration hack: real-time machine learning and hue light show

#6
post #5

It seems like analyzing the video would be much easier, as you could basically just OCR the on-screen scoreboard.

Scoreboards will take a bit longer to react than the announcers and goal horn.

Indeed, on our local broadcast sometimes the scoreboard doesn't change until well after the goal has been reviewed and approved in Toronto.

Re: NHL goal celebration hack: real-time machine learning and hue light show

#7
I am impressed that it's able to work for both when the Habs are at home and on the road. The only similar thing would be the commentator's reaction. The ambient sound is reversed (cheers and horns when the Sens score). I would think you would have to train the algorithm separately for both cases, and tell it whether the current game is at home or not.

Anyway, this is very good work, the light setup is very clean. I hope that the (your?) system will get a lot of "true positives" during tonight's game :).

Re: NHL goal celebration hack: real-time machine learning and hue light show

#8
You might also have good luck by analyzing the chat data from hockeystreams - just look for when a few dozen people write something along the lines of "GOOOOOOOOAAAAAAAALLLLLLLLLL", and take it from there.

Granted, not as much fun as setting up the whole system you did, but another option.

Re: NHL goal celebration hack: real-time machine learning and hue light show

#10
This is really awesome. I've managed to do something similar, but for the Washington Capitals. When the game starts the lights change to the color of the home team, and when they score the flash. I'm using a little web scraper to pull from nhl.com to get the data, however, sometimes it's quite out of sync with the actual game (streaming or live tv). Usually about 30 seconds to a minute delay.

The best part is when I forget that they are playing and the lights start flashing randomly. Always scares guests :)

Post reply on HN