Computer Tracking Of Billiard Balls

The folks at the London-based startup GoCardless have a pool table at their office. Being the techies they are, they decided to build a system that automatically scores games. The results, while not fully complete, are still pretty impressive for something whipped up during a 48 hour hackathon.

The automated score keeper uses a webcam duct taped to the ceiling right above the center of the pool table, The balls – red and yellow balls replace the rainbow of solids and stripes to make things easier – are found using OpenCV.

This build isn’t quite finished yet. The people at GoCardless are looking to improve the accuracy of their setup by using a camera with a higher frame rate and possibly moving on to physics simulation to predict where the balls should be. If these guys get the time, they could add something like augmented reality pool table to improve shot accuracy.

Vidia after the break.

Continue reading “Computer Tracking Of Billiard Balls”

Skateboard Tagging

We abhor vandalism, but we love art. Here’s a skateboard hack that lets skate punks young and old tag their turf while they ride. [D*Face], a multimedia street artist who grew up in London, added a mounting system to the bottom of his skateboard which includes a can of spray paint. We’re a bit surprised that there’s room enough for that, but the system fits nicely. They’re not locked into a constant stream because the system lets the rider (or a bystander) actuate the spray can via remote control.

But the brush is only one part of the painter’s tool chain. To get the most interesting effect, a pool was painted white to serve as canvas and a troupe of skaters was unleashed on it to try out the modified boards. Check out the video after the break to see the colorful and pleasing curves that result. We just hope nobody bailed and smeared the canvas at the same time.

Continue reading “Skateboard Tagging”

The PR2 Calls The Shots

Can you beat this robot at pool? This sparks something of a “let the wookie win” attitude for us, but we still love to watch the video. This is the PR2 playing pool thanks to the folks over at the Willow Garage. It uses a laser sensor to detect the legs of the pool table, and cameras to find the diamonds and balls at the playing surface rather than using an overhead camera. They cut down on the coding work needed by using FastFiz, an open source Billiards physics library. The final step was building an interface so the robot could use a cue. Check it out after the break (no pun intended).

Continue reading “The PR2 Calls The Shots”

Virtual Pool, Real-world Interface

[youtube=http://www.youtube.com/watch?v=2Wc_DXGe2fQ]

Sunday we saw robots playing pool and an augmented reality pool game. Today we’ll complete the pool trifecta: virtual pool using a real cue stick and ball in another vintage video from Hack a Day’s secret underground vault. The video is noteworthy for a couple of reasons:

First is the year it was made: 1990. There’s been much buzz lately over real-world gaming interfaces like the Nintendo Wii motion controller or Microsoft’s Project Natal. Here we’re seeing a much simpler but very effective physical interface nearly twenty years prior.

Second: the middle section of the video reveals the trick behind it all, and it turns out to be surprisingly simple. No complex sensors or computer vision algorithms; the ball’s speed and direction are calculated by an 8-bit processor and a clever arrangement of four infrared emitter/detector pairs.

The visuals may be dated, but the interface itself is ingenious and impressive even today, and the approach is easily within reach of the casual garage tinkerer. What could you make of this? Is it just a matter of time before we see a reader’s Mini-Golf Hero III game here?

Pool-playing Robot + ARpool

[youtube=http://www.youtube.com/watch?v=AENJxqR0g48]

Enjoy losing at pool? Well the folks at Queen’s University just made it a whole lot easier. The Deep Green robot was created with the purpose of playing a flawless game, allowing it to beat even the most skilled human players. More than a couple of research papers have been written on the project. A ceiling-mounted Canon 350D tracks the position of all of the balls, in addition to another cue-mounted cam (for higher shot accuracy). Using a bunch of calculations, and a computer (probably more advanced than an Arduino), the Deep Green is able to strategize and play. Very well.

On a positive note, another team from Queens is working on a seperate but related project: ARpool (as in augmented reality). It was created to make playing pool easier. The website does not provide much info, but it seems to project different moves onto the pool table, allowing an inexperienced player to tell whether a shot is at all possible.

Digitally Assisted Billiards

pool

[Justin] sent in his Digitally Assisted Billiards project. Using a web cam, a computer and a projector, these guys have set up a system that shows you the trajectories of your current shot. It detects the angle of the cue and displays a glowing blue line showing where each ball would go and where the collisions would be. It is a bit slow right now, and made somewhat less accurate by a low resolution web camera. This could be a fantastic teaching tool if it were to get some more polish. The source code is available on the site, so you could try this one out at home.