Giter Site home page Giter Site logo

homeworkmarking's Introduction

HomeworkMarking

A tool to help teachers to correct homeworks.

Note that for the moment it only work with digits.

Installation

We recommande to use pip for installing all the requirements

pip install -r requirement.txt

Usage

./main.py refFile

The refFile is the picture of the assignment filled by the teacher: it contains the good answers.

The first screen will be the picture of this file. First, you need to select (with your mouse) the Region Of Intereset (ROI). Note that for the moment, the program display the ROI only when you finish your selection. To detail the ROI, it is the area the program will treat. This ROI will be crop and convert to digits. When the ROI are selected, press enter touch.

After that, the program will go through all the documents in input folder, keeping the same ROI, convert the result to digit, and compare with the correct result.

The programm will output each document with a square for each result. A green square mean the answer is correct, and orange one mean it is not. The programm also display the reference number: for example, if the assignment contain a 4 and the answer was a 7, the number 7 will be display in the box.

Training

A script is available to train again the model. Note that a training session will erase the previous weights!

Evaluation

To evaluate the models, we provided a script called evaluate.py. There are two modes in it:

  • One doing simple prediction on children dataset and draw a confusion matrix of this evaluation
  • One that run a cross-validation using children dataset.

Built With

  • Python 3 - Python langage
  • Numpy - The fundamental package for scientific computing with Python
  • Opencv - Computer Vision library, tools, and hardware.
  • TensorFlow - End-to-end open source platform for machine learning

Authors

homeworkmarking's People

Stargazers

 avatar

Watchers

 avatar  avatar

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.