IREX
EN

Track a Vehicle

In this example, we assume the license plate is known of a vehicle to track (e.g. "5PPP064"), and the vehicle owner's first and last names (e.g. "John Dow"). The user outside IREX wants to be informed via HTTP whenever the vehicle is seen all around IREX instance operational range. The notification should have the form of a JSON file saying where it was, when, some more details plus it should bring a snapshot of the vehicle, e.g.:

   { "monitor_id": 114,
        "id": "203:1691055920965:4829655691653739"
     "event_id": "4829655691653739",
        "topic": "PlateMatched",
        "module": "KX.PDD",
        "level": 2,
        "start_time": 1685979817214,           //event start POSIX-time
        "end_time": 1685979829336,             //event end POSIX-time
        "params": {
            "identities": [
                {
                    "plates": [
                        {
                            "id": 186177,
                            "number": "5PPP064",
                            "state": "US",
                            "owner_first_name": "John",
                            "owner_last_name": "Dow"
                        }
                    ],
                    "list": {
                        "id": 3,
                        "name": "GSM",
                        "level": 2
                    }
                }
            ],
   "object": {
                "color": {
                    "value": "gray",
                    "reliability": 0.98652285
                },
                "object_type": {
                    "value": "car",
                    "reliability": 0.99994373
                },
                },
                    "reliability": 0.9884001
        },
           "snapshots": [                     // event snapshots
            {
                "type": "FULLSCREEN",
                "path": "...",
                "image": "i...I"
            },
            {
                "type": "THUMBNAIL",
                "path": "...",
                "image": "i...I"
            },
            {
                "type": "THUMBNAIL",
                "path": "...",
                "image": "i...I"
            }
        ],
        "channel_id": 682,
        "channel_type": "STREAM",
        "channel_name": "0-0-10",
        "channel_latitude": 33.951684,       //camera coordinates
        "channel_longitude": -117.410174,
        "channel_address": {
           "country": "US",
        "region": "California",                      //event location
        "county": "Riverside",
        "city": "Riverside",
        "district": "district_name",
        "street": "stree_name",
        "place_info": "house_number"
        },
               "tags": [
            {
                "id": 81,
                "name": "Outdoors"
            }
        ]
    }


The solution may look like a chain of steps like this:

  1. Select a User group tasked with tracking the vehicle.
  2. Create an empty vehicle list with the plate recognition feature enabled.
  3. Add the license plate to track to this list.
  4. Create an empty alarm monitor on IREX with the webhook feature enabled.
  5. Set up the monitor to track the license plate.
  6. Switch the monitor on.