Skip to main content

A package for matching students to test papers in MarkUs

Project description

MarkUs Exam Matcher

Installation

It is recommended to use a virtual environment to install this package, as it contains many pinned runtime dependencies.

Production Installation (Recommended)

To install the production version of the package, run the following command in the console:

$ pip install markus-exam-matcher --extra-index-url https://download.pytorch.org/whl/cpu

Latest Development Installation

To install the latest development version of the package, run the following command in the console:

$ pip install git+https://github.com/MarkUsProject/markus-exam-matcher.git --extra-index-url https://download.pytorch.org/whl/cpu

Branch Installation

To install the version specified by a particular branch (when permissions are granted), run the following command in the console:

$ pip install git+https://github.com/MarkUsProject/markus-exam-matcher.git@branch_name --extra-index-url https://download.pytorch.org/whl/cpu

Commit Hash Installation

To install the version specified by a specific commit, the commit hash can be used by running the following command in the console:

$ pip install git+https://github.com/MarkUsProject/markus-exam-matcher.git@commit_hash --extra-index-url https://download.pytorch.org/whl/cpu

Usage

This package works under the assumption that the characters to be detected are surrounded by boxes that are placed side-by-side. An example image with this format is displayed below:

Text

Below is a sample usage that generates a prediction from the file shown above.

$ python3 -m markus_exam_matcher --char_type digit char examples/student_info_num.jpg
0001250981

Developers

  1. First, clone this repository.
  2. Open a terminal in this repo, and create a new virtual environment.
  3. Run pip install -e ".[dev]" to install the dependencies.
  4. Then run pre-commit install to install the pre-commit hooks (for automatically formatting and checking your code on each commit).

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

markus_exam_matcher-0.2.0.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markus_exam_matcher-0.2.0-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file markus_exam_matcher-0.2.0.tar.gz.

File metadata

  • Download URL: markus_exam_matcher-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for markus_exam_matcher-0.2.0.tar.gz
Algorithm Hash digest
SHA256 140903bb16909e7f30062d1438da47e5a8ed459dacd721de836cc987a428f568
MD5 77bdb56b5c66d05cc4fd1410461cbc08
BLAKE2b-256 1c16fd86efb01efc373ec4b20964f62fc2e82cee24aafda3a0ea0971ce8456e8

See more details on using hashes here.

File details

Details for the file markus_exam_matcher-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for markus_exam_matcher-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21d9d6bfec572ce7f187189d90e3ece9f47ed936750809578fe158657540d491
MD5 43b46a2b2c1f92ec33a4be1807584a78
BLAKE2b-256 2befc3cc6ba331e2d3df149e0d67488174b950ca2e842985f10f7f5c1719264e

See more details on using hashes here.

Supported by

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