Skip to content
Kevin-OConnor edited this page Nov 10, 2017 · 8 revisions

Installing and running PiScout on a local machine

Installing dependencies

  1. Install Python 3.6 or later: https://www.python.org/
    • I recommend checking the box in the installer to add Python to your path. This allows you to run python commands from a command prompt without specifying the full path to Python.
  2. Next install the following Python packages:
  • CherryPy
  • Requests
  • NumPy
  • OpenCV 3.0
  • MatPlotLib

To do this, open a command prompt (if you did not add Python to Path while installing, you will need to browse to the Python directory in the command prompt) and enter the command:

pip install cherrypy requests numpy opencv-python matplotlib

"Installing" PiScout

PiScout requires no specific installation. To get PiScout do one of the following:

  • Using your Git tool of choice, clone the PiScout repo (or your fork of the repo)
  • Use the Clone or download button on the Code tab of this repo to download a zip file and then unzip it.

Running PiScout (for program usage, see Using PiScout)

To run the server and scanning program (typical):

Run (or double click) the RunLocal.bat file. This will launch 2 separate command windows, one for the server, and one for the scanning program.

To run just the server (view data only):

Open a command window, navigate to the PiScout directory and run the command "python server.py -local".

To upload matches saved locally to a remote server (upload data without scanning a new match):

Run or double click on upload.py to upload any matches from the queue to a remote server.