Beginners Project: Table-Top Game Card Detection

asked 2017-05-06 07:03:02 -0500

phluxx gravatar image

updated 2017-05-06 09:18:06 -0500


I am a quite experienced programmer with some math background, and very limited knowledge of CV (had a cource once at university, know the concept of feature), but I never worked with OpenCV.

I am thinking about a little private project. First step would be detection of a tabletop game setup of Catan, which you can see here: https://tametheboardgame.files.wordpr...

This image shows to seafaring extension, of which I don't care about, so forget about the blue stuff on the border. Also I would not care for the items representing streets (wooden bars) and settlements (wooden houses) for now.

What I would like to realize in a first and second step:

  1. detect the hexagonal cards defining the playfield
  2. detect the chips with numbers

Detection should work with better consumer level web cams (full hd), arbitrary light conditions and from arbitrary camera positions. However, there is no motion, so at least exposure times are not a problem.

Could someone point me into some directions to go for this? Are there beginners tutorials which will lead me directly where I want to go? Or could someone tell some core concepts I should stick with?

Implementation might start with python as a play stage, but would be done in c++ finally.


Addendum: probably it would be the best to detect the basic geometry first (where are the cards positioned, which orientation.) Thinking about this would probably change my plan to:

  1. detect a group of hexagonal tiles in the image.
  2. classify each tile into one of the possible card types
  3. detect the number chips (later)
edit retag flag offensive close merge delete



do you really need a 3mb image to explain your situation ?

but oh: here's the tutorials

also i think, your question is far too complex, to be answered easily. try a few things, and come back with smaller, more specific problems (e.g., where you ran into trouble)

berak gravatar imageberak ( 2017-05-06 09:05:57 -0500 )edit