Next >

Table Game Tracker

An Exercise in Image Processing

We built on the success of the Enhanced Beer Pong project by stripping the project of all of its wires and building on its functionality. We attached a small cell phone camera to the ceiling that could communicate wirelessly with our FPGA board. By comparing frames, our system could detect all of the aspects of gameplay.

mainTop

 

boardLayout

 

 

 

 

To interface with the camera we had to correctly identify and solder each of its 20 pins to our custom-made breakout board.

 

 

 

 

 

 

overhead

 

 

Once initialized, the camera would spew data continuously. Obtaining, interpreting, and displaying this data was a huge challenge. The camera sent data in YCbCr format, meaning that it would alternate between sending grayscale and color values. Since we only needed grayscale images, we read the grayscale values and ignored the color information, allowing us to store one byte of data for each pixel.

 

 

 

 

 

 

Next >