Talk for PyConEs 2017: Correct 1000 exams with a bit of openCV
Video recording of the talk available at https://www.youtube.com/watch?v=lnDx1WuS_ao&list=PLahUDl6AAwrhc_qBiZpn07_7tDZnapO9C&index=44
Libraries needed:
- OpenCV
- Numpy
- Matplotlib
- Imutils
- OpenPyxl
This project is based on the tutorial “Bubble sheet multiple choice scanner and test grader using OMR, Python and OpenCV” by Adrian Rosebrock:http://www.pyimagesearch.com/2016/10/03/bubble-sheet-multiple-choice-scanner-and-test-grader-using-omr-python-and-opencv/
You can find extensive tutorials about numpy, matplotlib and other interesting packages at: https://github.com/AeroPython/Curso_AeroPython
You can find a short view on OpenPyxl at: https://github.com/AunSiro/Lightning-Talk-Destruir-Lo-Bello
Instrucciones:
- Los 4 archivos .py deben estar juntos en una carpeta
- Copiar todas las imágenes de los exámens a corregir a una carpeta llamada ‘examenes’ y colocar esta carpeta junto a los archivos de Python. De manera alternativa, se pueden poner directamente en la misma carpeta que los scripts de Python.
- Ejecutar crear-clave.py
- Comprobar visualmente que el archivo clave.xlsx se ha creado correctamente
- Ejecutar analizar-todos.py
- Comprobar los archivos de la carpeta correcciones con la ayuda de las correcciones graficas
- Ejecutar resultados.py
- Los resultados estarán en el archivo resultados.xslx
El algoritmo de análisis de un solo examen se proporciona también en formato notebok