Matches submission PDF to student based on ID by aligning submission with the template, cropping the SID, and running OCR to extract the SID.
Clone the repository.
git clone firstname.lastname@example.org:alvinwan/sidocr.git
If Homebrew is not already installed, install package manager Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Using brew, install Tesseract
brew install tesseract
Setup your virtual environment. The following will create a new environment called
conda create -n sidocr python=3.4
Activate your virtual environment, and install all dependencies from
source activate sidocr pip install -r requirements.txt
At this point, you may exit your virtual environment
Installation complete. See "How to Use" to get started.
How to Use
Make sure to activate your virtual environment, if you haven't already. (If you are in the environment, your prompt will be prefixed by
source activate sidocr