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
-
install these packages first
pip install fastapi uvicorn numpy opencv-python
-
after that to start the server run
python server.py
-
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: -
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 )
- add request validation
- process testing
- add support for additional paper types