Detection of CandyCrush candies

asked 2014-03-31 11:55:56 -0500

songyy gravatar image

Hi there, I'm trying to model the game state of CandyCrush using OpenCV method. My approach is to first detect the candies via template matching, and then compute the look of the game board based.

However, there's one particular problem that.. the candy can be in different states. For example, there can be a "cross" on top of the candy (refer to the image below); and in this case, I found it impossible to matching using my existing candy template.

One way is to take a screen shot of all possible candies, and then further apply the template matching algorithm; but that may be too expensive, because I may have to apply all template through-out the screen.

I therefore wants to ask if there're any idea for this kind of Candy-Matching problem.

Thanks a lot candyCrush game board

edit retag flag offensive close merge delete



You can use colour based distinction, as each candies have different colour.

Haris gravatar imageHaris ( 2014-04-01 00:28:45 -0500 )edit