Sign Up

OWS OpenEye Integration

The integration with OWS OpenEye sends ALPR results from Stream over to OWS OpenEye as events. You can then customize the events received in OpenEye based on various parameters such as timeframe, prefixes, suffixes, etc.

Obtain OpenEye Camera External ID

Step 1.1 From the top menu, go to Management > Locations > Locations.

Step 1.2 After loading, navigate to the location where the camera is present in the side menu.

OWS-OpenEye-LPR-Camera

Step 1.3 When selecting the location, as shown in the image, click on the camera button and capture the “camera external ID” information. This information will be necessary for the integration setup.

OWS-OpenEye-ALPR-License-Plate-Recognition-Integrate-Camera-Software

Generate API Access Key

Step 2.1 From the top menu, go to Management > Integrations.

OWS-OpenEye-License-Plate-Reader

Step 2.2 Click on “ADD NEW Integration” and select the integration type “Event Receiver API (Analytics)”.

OWS-OpenEye-Number-Plate-Recognition

Step 2.3 In the side menu “API Access Keys”, create new keys by clicking on ADD KEY. Define a name for your key, e.g., “Platerec”, and save the Secret Key value. Note that this information is only shown at this point in the tutorial.

OWS-OpenEye-VMS-ALPR-System

Step 2.4 After creation, verify that your key pair has been created. Also, store the information found in API Access Key. Both keys are required for communication with the API.

OWS-OpenEye-Plate-Recognition

Configure Alerts

Step 3.1 Go to the top menu Alerts > Alert Rules.

Step 3.2 Add a new rule by clicking on “ADD new Rule”.

Step 3.3 In the modal that appears, select the alert type “License Plate”. Proceed, define a name and description, and click Create.

OWS-OpenEye-LPR-ANPR-Camera-Configuration

Step 3.4 In the rule settings under “Rule Definition” submenu, define the rules for capturing plates. For a general setup, use * to capture all plates.

Step 3.4 In the rule settings under “Rule Definition” submenu, define the rules for capturing plates. For a general setup, use * to capture all plates.

OWS-OpenEye-Integration-ALPR-ANPR

Step 3.5 Make sure to select Active Alert and Send to Alert Feed.

OpenEye-VMS-Alerts-License-Plate-Recognition-How-to-set-up

Step 3.6 Select Cameras from the side menu and add the cameras that were selected in the first step of this tutorial. You can create a single alert for multiple cameras, according to your needs.

OpenEye-ALPR-ANPR-LPR-Add-Camera

Configure the Integrator

The integrator acts as a middleware for capturing detections from the Stream and sending them to OpenEye.

Step 4.1 Create a .env file in a folder of your choice and add the variables below:

MIDDLEWARE_NAME=openeye
AKI_TOKEN=
AKS_TOKEN=

The AKI_TOKEN parameter should contain the value obtained from the API Access Keys, and the AKS_TOKEN parameter should contain the value of the Secret Key generated in the previous step.

Step 4.2 Run the Docker command to start the Stream_Gateway. The command must be executed in the terminal in the same location where the .env file was created.

docker run -it --env-file .env -p 8002:8002 platerecognizer/stream-gateway

This command will run the middleware on port 8002, exposing it to receive webhook data.

Configure Stream

For details on setting up and configuring Stream, please refer to our Stream Guides.

Step 6.1 In the Stream config.ini file, set the Camera-ID equal to the Camera External_ID parameter provided by OpenEye.

Step 6.2 Configure a new webhook with the host and port of your webhook obtained in the previous step.

Step 6.3 Add the name of the new webhook to the webhook_targets parameter. In the screenshot example on the right, the created webhook is named “openeye.”.

Step 6.4 Restart Stream.

Great!  You can now configure and integration OWS OpenEye with Stream for monitoring and event forwarding.

Plate Recognizer ALPR OpenEye VMS License Plate Recognition Stream Configuration

ALPR Results Inside OWS

Step 7.1 See ALPR results within Alerts Search page of OWS.

OpenEye-OWS-Alerts-ALPR

   

OpenEye-OWS-Alerts-Details

Step 7.2 See ALPR results in Video Search and watch video.

OpenEye-OWS-ALPR-Video-Search

   

OpenEye-OWS-ALPR-Video-View

Need Help with LPR?

Let us know and we’d be happy to assist.

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from Youtube
Vimeo
Consent to display content from Vimeo
Google Maps
Consent to display content from Google
Spotify
Consent to display content from Spotify
Sound Cloud
Consent to display content from Sound