iansan5653 / open-mcr

:pencil: Exam bubble sheet scorer. Created with OpenCV and Python.
GNU General Public License v3.0
160 stars 54 forks source link

Batch run with .bat #86

Closed trungng2006 closed 1 year ago

trungng2006 commented 1 year ago

Thank you for sharing this wonderful program.

I want to use open-mcr to grade multiple subject in multiple folders. Could you please add into the readme how to do batch run with this program?

Thank you so much!

iansan5653 commented 1 year ago

Hello! You can run the CLI by downloading the files and running them with Python. Here are instructions on downloading and running the Python code, and then you can run python3 src/main.py --help to see the list of arguments. You can also see the list of arguments in this source file.

As a basic example, you might have a batch file that looks like:

python3 open-mcr/src/main.py /path/to/input_1 /path/to/output_1 --variant 75
python3 open-mcr/src/main.py /path/to/input_2 /path/to/output_2 --variant 75