Clear Filters
Clear Filters

how to detect answers which student chose it in answer sheet

2 views (last 30 days)
hi , i want steps to create program to detect answers from answer sheet ex : (detect that student chose 'A' in question '1' in attached image ) thanks in advance

Answers (1)

Image Analyst
Image Analyst on 24 Jan 2015
The steps are
  1. Extract the red channel from the RGB image.
  2. Align image so that upper left circle is at some known location, and lower right circle is at some known location.
  3. Define a template that is a little square or circle.
  4. Get a sub image from every one of the 5 columns in a row of circles.
  5. Find out which one has the lowest mean - use mean2().
  6. From the mean, assign an answer of A-E based on which column had the lowest mean.
[selection, theAnswer] = min(theMeansForThisRow);
Not too hard (actually, easy ) except step 2 might be a little hard if the images are not aligned already.
  4 Comments
AminaOsmanova
AminaOsmanova on 11 Feb 2017
Please could you help me too.I can`t compare detected answers with the actual answer key stored in an excel sheet. Please help me
Image Analyst
Image Analyst on 11 Feb 2017
OK, how can I do that?
Read this link and then post your question along with your image and your code that you adapted from this question.

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!