Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "ECE497 Project Set Playing Beagle"

From eLinux.org
Jump to: navigation, search
Line 3: Line 3:
 
== Description ==  
 
== Description ==  
 
Using a webcam, a projector, and possibly a microphone, this system will allow the computer to play Set. Set is a card game which involves finding patterns among a 12-card layout. The instructor at [http://modelai.gettysburg.edu/2010/set/gettingSetWithOpenCV.html this website] makes the interesting point that for humans, it is easy to gather information about the cards, but hard to find sets. For computers, it is the opposite: even with a brute force algorithm, it is a trivial matter to find all sets in a layout, but it is difficult to read the cards.  
 
Using a webcam, a projector, and possibly a microphone, this system will allow the computer to play Set. Set is a card game which involves finding patterns among a 12-card layout. The instructor at [http://modelai.gettysburg.edu/2010/set/gettingSetWithOpenCV.html this website] makes the interesting point that for humans, it is easy to gather information about the cards, but hard to find sets. For computers, it is the opposite: even with a brute force algorithm, it is a trivial matter to find all sets in a layout, but it is difficult to read the cards.  
 +
 +
Our github page is:
 +
 +
[https://github.com/mayhewsw/BeagleSetGame]
 +
  
 
== Game Play ==  
 
== Game Play ==  

Revision as of 00:15, 4 May 2011

Team members: Stephen Mayhew, Samuel Allen, Julian Ametsitsi

Description

Using a webcam, a projector, and possibly a microphone, this system will allow the computer to play Set. Set is a card game which involves finding patterns among a 12-card layout. The instructor at this website makes the interesting point that for humans, it is easy to gather information about the cards, but hard to find sets. For computers, it is the opposite: even with a brute force algorithm, it is a trivial matter to find all sets in a layout, but it is difficult to read the cards.

Our github page is:

[1]


Game Play

It will be a command line application, written in Python using the OpenCV Python bindings.

Basic Flow:

  • Start the program
  • Set out the cards
  • When there are 12 cards, the program will start to recognize cards and find sets
  • When the computer finds a set, it will project the locations of the cards onto the playing surface
  • If the computer can't find a set, then project red X, or speech synthesis "No set", or print to console

If there is time:

  • If a human finds a set - user input: click, speech recognition - and computer stops looking
  • Speech synthesis - ask for confirmation on sets (could also be command line - much easier)


Tasks

  • Decide on final functionality
  • Come up with the hardware setup, frame to hold the camera and projector
  • Set up a git repository for the project - Stephen
  • Install and test OpenCV on the Beagle - Stephen
  • Learn how to stream video input using OpenCV (or PyGame) - Sam
  • Finish the Set card recognizer - Stephen
  • Write the game logic - Stephen
  • Bring the system together - Everybody
  • Test the DLPpico projector, get it to communicate with the camera - Julian