Detecting emergency vehicles
Watcher can detect emergency vehicles including police cars, fire trucks, ambulances, etc. This function may be useful if you are using Watcher for opening a gate, and you want emergency vehicles to pass through the gate freely.
The emergency vehicle detection is a part of license plate recognition (LPR) module; recognizing emergency vehicles requires more resources than simple LPR. Please refer to Calculating resources for analytics for details on the resources consumption.
Video image requirements for emergency vehicle detection are the same as those for standard license plate recognition.
Enabling the detection of emergency vehicles
To enable the detection of emergency vehicles, just install and configure the LPR module. The emergency vehicles detection runs alongside the plate detection.
Browsing and searching for emergency vehicles
The detected emergency vehicles are included in the general list on the Events -> License plates tab.
To search for events of emergency vehicle recognition, you can use an API request like GET http://WATCHER-IP/vsaas/api/v2/analytics/license_plates with the
curl -v GET -H 'x-vsaas-api-key: 7c75da8fb314183f1f825271898a3687' \ -d 'limit=12&offset=12&event_type=emergency' \ -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" \ http://127.0.0.1/vsaas/api/v2/analytics/license_plates
Put your own API key to the x-vsaas-api-key parameter or use another way to authorize the API request.