Skip to main content

Manual Installation Steps

Install Shipping Container Images On-premises with Docker by following the steps below.

danger

Replace YOUR_LICENSE_KEY with your License Key and YOUR_API_TOKEN with your API Token. Get your token and license key. Use On-premises Licenses.

List of Docker Images

There are Docker images for various architectures. The image structure is

platerecognizer/<architecture>:<version>
  • <architecture>
    • x86 container
  • <version>: leave blank for latest.
  • To see the list of tags, select an image from Docker Hub and then click "Tags".

Here are a couple of examples:

  • Image for x86 with a specific version: platerecognizer/container:1.0.0
  • Image for x86 with the latest version: platerecognizer/container

Installation

Installation on an Intel CPU

Abbreviated installation steps below. For a detailed, step-by-step guide, see the Install Docker and SDK on Windows and the associated FAQ for help.

  1. Sign up and log in.
  2. Subscribe to a Shipping Container Images On-premises plan.
  3. Install Docker on your local machine. See requirements.
  4. Get our On Premise image. In a terminal run docker pull platerecognizer/container
  5. Install and run the docker container:
docker run --restart="unless-stopped" -t -p 8001:8001 -v license:/license \
-e TOKEN=YOUR_API_TOKEN -e LICENSE_KEY=YOUR_LICENSE_KEY \
platerecognizer/container

Calling the API

The docker container exposes a REST interface. To verify that the installation was successful, run those commands in a new terminal. Replace localhost with the IP address of the machine running the docker container, if not the same one.

# Get a picture
curl -o container.jpg https://app.platerecognizer.com/static/container_demo.jpg
# And read the container information
curl -F "[email protected]" http://localhost:8001/predict/

View the output format documentation and read about parameters to learn how to customize the output.