This project lets you automatically create and score test created using question from text file. It's made to help with grading multiple tests quickly and easily.
Go to
https://github.com/Darko-Ristic/create-and-mark-test-automatically/releases
Download the latest zip file. Unzip all files into a folder on your computer. Run main.exe or one of the .bat files.
-
napravi bc_jpg test od pitanja_txt.bat→ creates a test imagebc.jpgfrom a list of questions. -
oceni bc_jpg.bat→ scores a single markedbc.jpgtest image. -
oceni_sve.bat→ scans and scores all test images in thetestovifolder automatically. -
All
.batscripts usemain.exebehind the scenes — so you don't need to run this file yourself.
- Place all your
.jpgtest with different names into thetestovifolder. - Run
oceni_sve.batto scan, score, and save results. - Results for each test will appear as
.txtfiles in theoutfolder. - At the end, the script will show you the score of each each test.
- Batch files (.bat) let you run the different steps without typing commands.
- The main program is
main.exe(you can pass it--shouldGenJPGto create new test frompitanja.txt). - The
testovifolder holds your input test.jpgfiles. - The
outfolder gets new.txtfiles with detailed results for each test.
If you have an NVIDIA GPU and see errors about missing CUDA libraries, you may need to:
-
Install cuTENSOR using
python -m cupyx.tools.install_library --cuda 12.x --library cutensor
or download it from NVIDIA and placecutensor.dllnext tomain.exe. -
Install cuDNN with
py -m pip install nvidia-cudnn-cu12
If you are missing DLL files, install the latest Visual C++ Redistributable for Windows (x64).
If something doesn't work:
- Go to the GitHub Issues page.
- Click "New Issue" and describe what happened.
- Add any error messages.