[go: up one dir, main page]

Skip to content

TheAbdusalam/omr-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optical Mark Recognition

This repository is a basic optical mark recognition to score exam-papers using python and FastApi.

Repository: https://github.com/abdusalam-mah/omr-fastapi

NB : currently only works with "choose the correct answer" type of questions

Usage

  1. install these packages first

    pip install fastapi uvicorn numpy opencv-python

  2. after that to start the server run

    python server.py

  3. use PostMan or Axios to send a POST request with an image file, get an example image from app/temp/images/ it looks something like: example image

  4. scoring methods

    some scoring methods are available, you can choose from the following:

    • score_by_percentage ( default )
    • score_by_weight ( which defaults it's weight to 1 if not specified )

To do next

  • add request validation
  • process testing
  • add support for additional paper types