Viewtron IP Camera API Introduction

Watch this video to see an introduction to the Viewtron IP camera API for software developers. This application programming interface (API) can be used to integrate the AI object detection events supported by Viewtron AI security cameras with 3rd party software applications. Viewtron LPR cameras (license plate recognition) also support the API.

The API uses the HTTP protocol to send an XML document to a server address and URL specified in the IP camera’s configuration. The HTTP Post / XML document is sent when an alarm is triggered on the IP camera. The XML document describes the alarm event that occurred and includes a JPEG snapshot image of the event. Software developers can write an HTTP server to receive the HTTP Post from the Viewtron IP camera and parse the XML document to determine what happened and what to do with the data.

The following alarm events are supported by the API.

  • Human Detection
  • Car detection
  • Face Detection / Facial Recognition
  • Line Crossing Detection
  • Intrusion Detection
  • Human Traffic Counting / Vehicle Traffic Counting
  • License Plate Detection / Automated License Plate Recognition

Open Source IP Camera API Server

I wrote an API server in Python for developers to use as an example to write their own applications. You can download my IP camera API server here on Github. Right now, I have the server handling license plate recognition events and face detection events. Both of these events are logged to a CSV file and the snapshot images of the events are saved to the file system. I will be adding support for human detection, vehicle detection, line crossing detection, traffic counting, and all other AI camera events very soon.

CCTV Camera Pros already has several partners creating some interesting applications using our facial recognition cameras and LPR cameras. We are excited to support additional partners. Please contact me at mike@cctvcamerapros.net if you need help or have any questions.