Test corrector in c++
Hi guys, im trying to make a program where it corrects a given test (matrix with cross, and various questions (see the image below)). I already have the algorithm of correction (give the points). What i need now is to extract each line, which has the user option and see where the cross is. Can someone help me with this? I already tried to use hough algorithm which finds every line on the image. But i cant really get out of there..
What i want the program to do is: - go through each question and see whats the option marked (x) - get the option number (0=a,1=b,2=c) (example)
Exemple of a test: http://prntscr.com/9muw53
Thanks in advance
have a look in these threads [1], [2], [3], [4], more or less the idea that is used is the same with morphology operations as @sturkmen suggested and I think that it can easily fit to your problem with some customizations.