Before you start, make sure that you have installed Surveillance Station 9.1.4 or above.
Step 1.3. Set up Plate Recognizer Stream (Refer to this guide).
Step 1.4. Edit the config.ini with the camera RTSP stream generated from the Surveillance Station (Refer to this guide).
[[camera-1]]
active = yes
url =
rtsp:// syno:[email protected]:554/Sms=1.unicast
Step 1.5. Set up the webhook for Plate Recognizer. We recommend setting caching to “no”, and setting the request_timeout to “60“ seconds.
[webhooks]
caching = no
[[my-webhook-1]]
url = {middleware url}
image = yes
video = no
image_type = vehicle
request_timeout = 60
Step 2.1. In Surveillance Station, go to the Action Rule app in Surveillance Station and create an action rule. Refer to this article for detailed instructions.
Step 2.2. Configure the settings on the Information page. Set the Rule type to Triggered.
Step 2.3. Modify the options in the Event page.
Step 2.5. Modify the options on the Action page.
For example, when Plate Recognizer recognizes a plate “ABC1234”, it will send a webhook as below:
http://{YOUR_NAS_IP:PORT}/webapi/SurveillanceStation/Webhook/Incoming/v1?token={USER_DEFINE_TOKEN}&text1=”ABC1234”
When Surveillance Station receives it, the system creates a bookmark with “plate: ABC1234” as description on the specified camera.
Step 2.6. On the Schedule page, set up the timetable.
When Plate Recognizer detects a license plate, it sends the information to the middleware. The middleware then processes the information and forwards it to Surveillance Station. Plate Recognizer’s webhook should be configured to send data to the middleware’s IP address, and the middleware should be configured to include the webhook URL of Surveillance Station in its operation.
Step 3.1. Download three files from GitHub and place them in the same folder.
Step 3.2. Run the following command in that folder to create a Docker image: docker build -t=”platerecognizer/stream-svs-notifier” .
Step 3.3. Run the following command to execute the Docker image on port 1234:
docker run –rm -t
-p 1234:8002
-e REST_SERVICE_URL=[SVS_webhook_URL]
platerecognizer/stream-svs-notifier
http://10.17.12.125:5000/webapi/SurveillanceStation/Webhook/Incoming/v1?token=aaa
Step 4.1. Go back to Plate Recognizer and modify the config.ini by setting the stream-svs-notifier IP to the IP address of the device running the middleware. webhook_targets = http:// [stream-svs-notifier IP]:1234
Let us know and we’d be happy to assist.
© 2023 Plate Recognizer, a subsidiary of ParkPow, Inc. All rights reserved.
Made with ❤ from Silicon Valley & Budapest.