how to detect answers which student chose it in answer sheet

1 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2015-1-24
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 个评论
AminaOsmanova
AminaOsmanova 2017-2-11
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 2017-2-11
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by