Skip to main content

Bubble Vision: Optical Mark Reader

Project description

Extract answer choices from scanned jpg bubble forms.

Graphical User Interface

$ omrcmd.py

Command Line

$ omrcmd.py [options] imagedir
imagedir

Input image directory (front side). Lowest numbered image identifies the key.

–backdir=BACKDIR

Optional back side image directory

–form=FORM

Set the form string (default and only supported=”882E”)

–help

Show this help message and exit

Output

validation images

Answer bubble means and reference box fits drawn over each input image.

results.xlsx
summary

Image path, name box image, and total score for each test.

questioninfo

Answer choice counts by question. Key excluded.

scoring

Answer choice matches key (0/1). Same indices as choices. Score is 0 if key is -1.

choices

Answer choice matrix. Tests in rows and questions in columns. 0-4=A-E, -1=n/a.

Install

$ pip install omr
$ pip install --upgrade omr
$ pip uninstall omr

Example Validation Image

https://raw.github.com/GregoryCMiller/omr/master/ExampleValidation.jpg

Troubleshooting

  • Windows

    • $ omrcmd.py --help gives omrcmd.py: error: too few arguments

      • fix argument passing to “py” file associations from python %1 to python %1 %*

    • unable to find vcvarsall.bat

      • I was able to use $ easy_install Pillow when pip failed to install Pillow 2.2.1

Author

Greg Miller gmill002@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omr-0.0.73.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

omr-0.0.73.linux-x86_64.tar.gz (23.6 kB view details)

Uploaded Source

File details

Details for the file omr-0.0.73.tar.gz.

File metadata

  • Download URL: omr-0.0.73.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for omr-0.0.73.tar.gz
Algorithm Hash digest
SHA256 8feca62c1ceab22aeebe74533960f51d32813943195ba0f05dc73f1e3231374f
MD5 4cd6fe12827e7431e3063d9a4fee14f3
BLAKE2b-256 3cf37dc710fbb164e87156534bd99ba87622ec324e54d0cd5f700f3064f71ed8

See more details on using hashes here.

File details

Details for the file omr-0.0.73.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for omr-0.0.73.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 ccac7a09c27233548155362766af7a83a82b331fa4544239cf3fdc7cdc7fe3f0
MD5 eb4dc9699b68e2300f8e03e32c5d1301
BLAKE2b-256 e4a8e1a87320696286274506538696787e294d62fb1d4f9f41578c8e9db8bb40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page