Skip to main content

ALPR Integrations

It is easy to feed ALPR data into ParkPow! See the pre-integrations below as well as the option for a custom integration.

Stream​

You can send ALPR data from Plate Recognizer Stream straight into ParkPow.

Ensure that Stream is installed before proceeding with the next steps. If you haven't installed it yet, refer to the Stream Installation guide for instructions.

Step 1. Get your API Token​

Sign up on ParkPow and get the ParkPow API Token, click on the profile icon in the bottom left corner and then on the API TOKEN button.

For On-Premise ParkPow deployments, get your local ParkPow API Token: http://local-ip-address:8000/accounts/token/

API Token

Step 2. Update Stream config.ini​

Navigate to the Stream working directory, locate the config.ini file, and open it.

Use the following example to configure the Webhooks section in the config.ini file.

config.ini
[cameras]
# Global cameras parameters here
[[camera-1]]
active = yes
url = rtsp://<rtsp_user>:<rtsp_password>@<rtsp_url>:<rtsp_port>/<rtsp_camera_path>
webhook_targets = parkpow
# More camera parameters below
# ...

[webhooks]
# Global webhooks parameters here
caching = yes
[[parkpow]]
#ParkPow webhook receiver url where plate prediction data will be sent
url = https://app.parkpow.com/api/v1/webhook-receiver/
image = yes
# Get your token here: https://app.parkpow.com/accounts/token/
header = Authorization: Token REPLACE_THIS_WITH_YOUR_API_TOKEN
image_type = vehicle
request_timeout = 20

# More webhooks below
# ...

For On-Premise ParkPow deployments, replace the webhook url = https://app.parkpow.com/api/v1/webhook-receiver/ with the following: http://local-ip-address:8000/api/v1/webhook-receiver/

info
  • The camera code on ParkPow is the [[camera-id]] from your config.ini. In the example above, camera-1. If you use multiple cameras, each camera id should be different. In the ParkPow admin you can modify the display name but you should not change the camera id.
  • You have a fixed numbers of cameras on ParkPow. If you have no free slots, you can edit the camera codes in the camera settings. You may also delete a camera.
  • Ensure to add webhook_targets = parkpow on the individual camera configuration to tell Stream to send plate prediction data from that camera to the specified webhook target. More Stream webhook config information here

Step3. You’re done!​

Go to the ParkPow app to set up your environment, such as your sites, cameras, time zone, etc.

ParkPow app

Snapshot Cloud​

You can send ALPR data from Plate Recognizer Snapshot API Cloud into ParkPow.

Sign in or Sign up on ParkPow.
If you had previously signed up using an email and password, You need to link your Platerecognizer account
To Link your account or change the linked account:

  1. Sign in to ParkPow then click on Link Your Platerecognizer Account in the bottom left corner.
  2. If Plate Recognizer Plate Recognizer is shows like pointed by arrow (2) your account is already linked.
  3. You can change the linked account by first removing any existing account.
  4. Click on the link pointed by arrow (3) to Link your account

ParkPow-Link-Plate-Recognizer

Step 2. Enable ParkPow Export.​

Login to Plate Recognizer Dashboard Settings page and Enable ParkPow Export.
You are done! ParkPow-Plate-Recognizer-Snapshot_Cloud-ALPR-Integration-Dashboard

Go back to the ParkPow app to set up your environment, such as your sites, cameras, time zone, etc.

Snapshot SDK​

You can send ALPR data from Plate Recognizer Snapshot On-Premise SDK straight into ParkPow.

Step 1. Login to Plate Recognizer Dashboard​

After you sign up on ParkPow, go back to the Plate Recognizer Webhooks Settings page.
You can also locate this in the Navbar by clicking on Apps, choose Snapshot SDK, then click on Webhooks.

ParkPow-Plate-Recognizer-Snapshot-API-Cloud-Webhooks

Step 2. Click on the green +Add SDK Webhooks button.​

ParkPow-Plate-Recognizer-Snapshot-SDK-Create-Webhooks-Fill-Out-Form

Step 3. Fill out the info.​

  1. Use a descriptive name, such as the Parking Lot Name along with β€œParkPow” so that it is clear this webhook sends info from the Parking Lot to ParkPow.
  2. Select the appropriate License.
  3. Enter Target URL: https://app.parkpow.com/api/v1/webhook-receiver/
    For On-Premise ParkPow deployments, for Step 3 above, enter ths following Target URL instead: http://local-ip-address:8000/api/v1/webhook-receiver/
  4. Make sure to check Send Image if you need images to be forwarded to ParkPow.
  5. Add the appropriate HTTP Headers to authorize requests sent to ParkPow, copy/paste the ParkPow API Token in the Authorization Header. Go here to get the ParkPow API Token.
{
"Authorization": "Token your_parkpow_token_here"
}
  1. Click on save. Please make sure to restart that specific SDK to apply the changes.

ParkPow-Plate-Recognizer-Snapshot-SDK-Create-Webhooks-Filled

Step 4. (Optional) When starting the SDK, consider including the ParkPow Token in the docker command as an alternative step if Step 3.5 hasn't been done.​

docker run ... -e PARKPOW_TOKEN=MY_TOKEN!

You can get your token from https://app.parkpow.com/account/token/.

FTP​

You can send image uploads from your device directly to our FTP, where the system will do license plate recognition.

Credentials Request​

The credentials to use the system can be requested by clicking here, or according to the image below.

Request FTP

Access to FTP credentials​

You can also locate this by clicking on your e-mail address in the upper right corner and then on FTP.

Request FTP

FTP configuration on your device​

Most devices allow FTP configuration for sending captures, Here you can check the configuration method of main devices compatible with our platform.

Notes:​

  • Once an image is processed, it is immediately removed from the FTP server.
  • You can send images to a sub-directory. Its name is used as the Camera ID. For example, with /nx123/2022/03/25/car.jpg, nx123 will be set as the Camera ID.
  • If you are using passive mode, you have to configure your firewall. Our port range is 55000-65000.

Data received from FTP​

Information retrieved from FTP can be viewed in the Plate Recognizer's Dashboard menu.

The Plate Recognizer FTP service allows recognitions to be exported to ParkPow, and/or to a Webhook of your choice.

REKOR Scout​

You can send ALPR data from REKOR Scout into ParkPow.

Note: This will create new cameras using the code rekor-<rekor-camera-id> from your existing cameras in REKOR Scout. Make sure you have enough available cameras, as you can't combine the ones you already have with those from REKOR Scout.

Migrate Data​

This step will send the existing data from REKOR Scout to Parkpow.

After signing in to ParkPow, click on the action button on the dashboard, then select Import from REKOR Scout.

REKOR Scout Import Button

Fill the authentication section form with your REKOR Scout's credentials, and select the Date Range for the data you wish to import. Then, click Import.

REKOR Scout Import Form

Webhook Configuration​

Follow these steps to feed future data from REKOR Scout to ParkPow.

Sign in to REKOR Scout and go to Webhook Configuration.

Click on Add New Webhook.

Fill in the Destination URL field with the following URL:

https://app.parkpow.com/api/v1/log-rekor-scout/

For On-Premise ParkPow deployments, use the following URL:

http://parkpow-onprem-ip-address:8000/api/v1/webhook-receiver/

Check the Send All Plate Reads option and add {"Authorization": "Token <PARKPOW_API_TOKEN>"} to Custom Data field. You can get your ParkPow API Token by following this step.

Click on Update.

REKOR Scout Webhook Configuration

Stream CSV Upload​

Use this script to upload existing CSV files and images from Stream to ParkPow

Get Script​

Download the script from GitHub, open a terminal in the parkpow/upload-csv folder then run below command to build the Docker image:


docker build --tag platerecognizer/stream-csv-upload .

Create and Run upload Container​

The script will use your Stream config to get camera IDs and ParkPow webhook details, so you need to mount your stream config.

docker run --rm --net=host -t -e LOGGING=DEBUG  -v /home/stream:/user-data platerecognizer/stream-csv-upload

If your CSV has only new data that might not already exist on the ParkPow server, save processing time by skipping checking for duplicates using -i option:

docker run --rm --net=host -t -e LOGGING=DEBUG  -v /home/stream:/user-data platerecognizer/stream-csv-upload -i
danger

The script requires $(camera) to have been used in defining path to CSV output to re-trace the camera ID

Enable DEBUG logging by adding -e LOGGING=DEBUG

Floating button icon
CTRL + .