This is a sample of what Surveillance produces as events from input videos or images. All output is in JSON. If you can parse this simple JSON formatted metadata in a language of your choice, you can develop your own video monitoring solution based on Surveillance in a matter of few weeks!

Motion Detection
{
  "command" : "metadata",
  "camera" : "rpi2",
  "plugin" : "motiondetect",
  "description" : "Motion Detect Plugin",
  "long_description" : "ROI Supported",
  "roi" : "0,0,640,360,10000",
  "timestamp" : "05/10/2017 21:12:25"
  “image”:<base64 encoded image>
}

Face Detection and Counting
{
  "command" : "metadata",
  "camera" : "vstarcam",
  "plugin" : "facecount",
  "description" : "1",
  "long_description" : "facecount",
  "roi" : "91,30,76,76,1;",
  "timestamp" : "05/10/2017 21:16:54"
  “image”:<base64 encoded image>
}

QR Code Scanning

{
  "command" : "metadata",
  "camera" : "vstarcam",
  "plugin" : "codescanner0",
  "description" : "1",
  "long_description" : "http://fr.wikipedia.org/;",
  "roi" : "405,356,110,125,1;",
  "timestamp" : "06/30/2017 19:29:55"
  "image”:<base64 encoded image>
}