GithubHelp home page GithubHelp logo

backyardbiomech / pyexamscan_v2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13.33 MB

A python utility to create and grade scantron-like paper bubble exams.

License: GNU General Public License v3.0

Python 81.76% HTML 18.24%

pyexamscan_v2's Introduction

pyExamScan installation on Mac

last edited 11 Feb., 2022

  1. Download the Miniconda installer aka miniconda from Continuum. Except in unusual circumstances you’ll want the latest 64bit Python 3.x installer. You can also use the full Anaconda environment, which will let you avoid many of the steps below, though the download is much larger and installs many packages not needed for pyExamScan. I recommend you stick with miniconda unless you already use Anaconda. If you use the full Anaconda installer, you can jump down to step 4 below.
  • NOTE: you can also create a conda env and install in there. If you don't know what that means, don't worry about it.
  1. To install Miniconda, open a Terminal window. On a mac, hit cmd-space, type in "terminal", and hit enter.
    1. In the terminal window, change directory into your downloads folder:
      cd ~/Downloads NB: if you don't know, cd stands for "change directories", and is like navigating folders. The ~ on a Mac is a shortcut for your home directory – the folder named as your user name that contains your Documents, Downloads, and Desktop folders, and where you'll be installing miniconda. So ~/Downloads is just a handy shortcut for Volumes/Macintosh HD/Users/<your user name>/Downloads
    2. Then install (you might need to change the text to match the name of the file you just downloaded).
      bash Miniconda3-latest-MacOSX-x86_64.sh
    3. Agree to all of the default options.
    4. Close that terminal window, and open a new one.
  2. In that window enter the following commands to install the required packages:
    1. conda update --all (this updates all the installed Anaconda packages)
    2. conda config --add channels conda-forge (adds the conda-forge package source as the first place to look)
    3. conda install opencv matplotlib pandas scipy Pillow imageio (this installs Python packages required by pyExamScan. Agree to install all and their dependencies - it will be a long list and may take a few minutes)
    4. pip install fpdf (This installs one package not available directly from Anaconda)
  3. Opencv is a finicky package, so before we get too much further, check the installation of opencv. In the terminal:
    1. python3
    2. import cv2
    3. If you don’t get an error, congrats, opencv is installed. Quit python with quit(), and go to step 5.
    4. If you get an error that ends with something like libopencv_core…dylib, Reason: image not found:
      1. Quit python with quit()
      2. conda install openblas=0.2.19
      3. python3
      4. import cv2
      5. if you don’t get an error, congrats, opencv is installed. Quit python with quit().
  4. Now that you have a Python environment with opencv and other packages installed, it's time to install the pyExamScan software:
    1. Go to the github repo. Click on the green Code button, and select Download zip. Uncompress the zip in your downloads folder. Make sure the uncompressed folder is named exactly pyexamscan_v2, and move it to your Desktop.
  5. Open that folder and open the Usage Instructions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.