SDAPS Surveying made easy – GPN 2014 Karlsruhe Benjamin Berg 21. June 2014 SDAPS 21. June 2014 1 / 18 Benjamin Berg
What is SDAPS? Optical Mark Recognition Program Python Open Source (GPLv3+, LPPL1.3c+) Integration with L EX and LibreOffice A T Extensible framework Command line utility SDAPS 21. June 2014 2 / 18 Benjamin Berg
Why SDAPS? Boycott of the university evalution in 2007/08 SDAPS 21. June 2014 3 / 18 Benjamin Berg
Why SDAPS? Boycott of the university evalution in 2007/08 Need for a utility for custom surveys SDAPS 21. June 2014 3 / 18 Benjamin Berg
Different usage scenarios surveys SDAPS 21. June 2014 4 / 18 Benjamin Berg
Different usage scenarios surveys examinations SDAPS 21. June 2014 4 / 18 Benjamin Berg
Different usage scenarios surveys examinations vote counting/ballots SDAPS 21. June 2014 4 / 18 Benjamin Berg
Different usage scenarios surveys examinations vote counting/ballots automated data input SDAPS 21. June 2014 4 / 18 Benjamin Berg
Different usage scenarios surveys examinations vote counting/ballots automated data input . . . SDAPS 21. June 2014 4 / 18 Benjamin Berg
SDAPS People Questionnaire a b LibreOffice SDAPS c Printing Project LaTeX d e SDAPS 21. June 2014 5 / 18 Benjamin Berg
SDAPS People a SDAPS b PDF Manual Error c Scan OMR Correction CSV d e SDAPS 21. June 2014 5 / 18 Benjamin Berg
Commands People Questionnaire a SDAPS b PDF Report LibreOffice SDAPS Manual Error Printing c Scan OMR Project Correction LaTeX CSV Export d e setup, setup tex stamp add recognize gui export report, report tex SDAPS 21. June 2014 6 / 18 Benjamin Berg
GUI SDAPS 21. June 2014 7 / 18 Benjamin Berg
Other utitlities reorder – sort images after scanning convert – import different file formats and photos boxgallery – debug utility annotate – debug utility yours SDAPS 21. June 2014 8 / 18 Benjamin Berg
Running a Survey find out prerequisites design a questionnaire (form) do the survey use the results SDAPS 21. June 2014 9 / 18 Benjamin Berg
Choosing IDs Up to 3 barcodes per page: Survey-ID bottom right used internally uniquely identifies form and page Questionnaire-ID bottom left different for each printout uniquely identifies surveyed person either random or user choosen Global-ID bottom center user choosen uniquely identify e. g. a certain iteration of same survey SDAPS 21. June 2014 10 / 18 Benjamin Berg
A T EX class L The Author The Title This questionnaire is automatically read by a computer program. Please use a pen for filling in your answers. Check: You can check any number of boxes in selection questions. Uncheck to correct: For questions with a range (1–5) choose the answer the mark that fits best. 1 Section Heading 1.1 Mark Question lower bound upper bound 1.2 Some choices first second Other: draft 1.3 A Textbox 3420821876 0001 SDAPS 21. June 2014 11 / 18 Benjamin Berg
A T EX class L Code \documentclass[draft,english,pdf,pagemark,stamp]{sdaps} \author{The Author} \title{The Title} \begin{document} \begin{questionnaire} \section{Section Heading} \singlemark{Mark Question}{lower bound}{upper bound} \begin{choicequestion}[4]{Some choices} \choiceitem{first} \choiceitem{second} \choiceitemtext{1.2cm}{2}{Other:} \end{choicequestion} \textbox{5cm}{A Textbox} \end{questionnaire} \end{document} SDAPS 21. June 2014 12 / 18 Benjamin Berg
Implementation Integration with L EX using custom documentclass A T Integration with LibreOffice by parsing PDF Python C-module for image processing Extensible datamodel Modular Modules provide functionality Modules extend datamodel Commandline utility is just a thin wrapper custom styles SDAPS 21. June 2014 13 / 18 Benjamin Berg
Datamodel Survey Definitions Questionnaire Head Mark Checkbox . . . Choice Checkbox Textbox . . . SDAPS 21. June 2014 14 / 18 Benjamin Berg
Datamodel (attributes) Survey → title, IDs, sheets, path, . . . → paper size, style, . . . Definitions Questionnaire Head → title → question, page Mark → text, position, size Checkbox . . . → question, page Choice → text, position, size Checkbox → text, position, size Textbox . . . SDAPS 21. June 2014 15 / 18 Benjamin Berg
Datamodel (storage) Survey current Sheet Sheet Images Definitions Images Questionnaire IDs recognized, verified, . . . Head Data Storage Mark Checkbox pos, state, . . . . . . Choice Checkbox pos, state, . . . Textbox pos, state, text, . . . . . . SDAPS 21. June 2014 16 / 18 Benjamin Berg
Future Development Port C library to GLib (introspection) Python UNO for LibreOffice ⇒ Python 3 port Dataexport contribute: GUI to run commands Documentation Translations LibreOffice support Features . . . SDAPS 21. June 2014 17 / 18 Benjamin Berg
Resources Homepage http://sdaps.org Repository http://github.com/sdaps/sdaps Translations http://hosted.weblate.org/projects/sdaps Mailinglist sdaps@sdaps.org IRC #sdaps on freenode SDAPS 21. June 2014 18 / 18 Benjamin Berg
Recommend
More recommend