Giter VIP home page Giter VIP logo

omr-scanner's Introduction

Optical mark recognition using OpenCV

alt text

Description

Optical Mark Recognition, or OMR for short, is the process of automatically analyzing human-marked documents and interpreting their results. Bubble sheets are the easily understandable and interpretable versions of the OMR. They are usually used as exam sheets, where students fill in the bubble which corresponds to an option of a multiple choice question. This was built for NEO ( National Entrepreneurship Olympiad) conducted by the E-Cell-VNIT.

Method

There was a requirement of checking huge volume of papers without actually wasting precious human time. So, the aim was to build a bubble sheet scanner and test grader using Python and OpenCV. The brief steps that were taken to build this:

  1. Detect the exam-sheet in an image.
  2. Apply a perspective transform to extract the top-down, birds-eye-view of the exam.
  3. Extract the set of bubbles (i.e., the possible answer choices) from the perspective transformed exam.
  4. Sort the questions/bubbles into rows.
  5. Determine the marked (i.e., “bubbled in”) answer for each row.
  6. Lookup the correct answer in our answer key to determine if the user was correct in their choice.
  7. Repeat for all questions in the exam-sheet.

Features

This system requires you to gather all your omr-sheets in one folder, with a click of one button, the pipeline will perform the above mentioned steps on every sheet and you will get the marks with the respective roll number of the student in an excel sheet, bringing the entire stats at one place.

OMR sheet

The below shown sheet was used for conducting the prelims of the exam. The first three rows represent the roll number of the student and the rest bubbles are for marking he answers.

alt text

Contents of this repository

  1. Img : Contains the descriptive images and the omr-sheet.
  2. omr_paper1.py : The python script used for evaluation.

Requirements

  1. Python
  2. OpenCv

Usage

Use this in command line where python is installed python omr.py --image images/imagename.png

Demo

alt text

omr-scanner's People

Contributors

sakethbachu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

omr-scanner's Issues

No images are loading

I am tryign to downlaod the images or even view them but github repo is not able to show theimage i need.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.