Skip to content

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ExamScan

A Python 3 script to evaluate single and multiple choice exam sheets.

Example

Input image:

Example Image

Processed image:

Processed Image

Usage

main.py (-u URL | -f FILE) -n NUM [-h] [-i IOUT] [-d DOUT] [-c COMP] [-p]

Flags:

Required, but mutually exclusive flags:
ShortLongDescription
-u URL--url URLURL to the image or pdf to be evaluated
-f FILE--file FILEpath to the image or pdf to be evaluated
Required flags:
ShortLongDescription
-n NUM--num NUMnumber of answers per question
Optional flags:
ShortLongDescription
-h--helpshows help message and exits
-i IOUT--iout IOUTpath for the output picture to be stored.
-d DOUT--dout DOUTpath for the output data to be stored.
-c COMP--compare COMPcompares the calculated result to a given result
-p--plotplots every single step

Requirements:

ModulePipGit
OpenCVopencv-pythonskvark/opencv-python
NumPynumpynumpy/numpy
Matplotlibmatplotlibmatplotlib/matplotlib
imutilsimutilsjrosebr1/imutils
python-magicpython-magicahupp/python-magic
pdf2imagepdf2imageBelval/pdf2image

About

A Python 3 script to evaluate single and multiple choice exam sheets.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages