Detect square and color sub squares in an image [closed]

asked 2013-04-10 13:49:46 -0500

Hello, I'm seeking all your help to get a solution to my problem. I'm really new to OpenCV, but I can run some code snippets.

Problem: A one side image of a Rubik's cure is captured by a camera (attached sample image), which needs to be analyzed to get the color squares in a matrix output format. For eg. We assign integer values 0-5 to all 6 colors, based on which an integer matrix should be printed, as output.

Please have a look at the attached image and help me with some code snippets.

Praveen.C:\fakepath\rubix_4.png

edit retag flag offensive reopen merge delete

Closed for the following reason too subjective and argumentative by Guanta
close date 2013-04-10 16:39:17.854889

Comments

This Q&A forum is neither be intended to solve (and especially not to code!) your homework problems! Come back here if you have _concrete_ problems and don't beg for code.

Guanta gravatar imageGuanta ( 2013-04-10 16:38:21 -0500 )edit