Anpr Camera Trait
API Service: AnprCameraApi
AnprCameraApi describes the capability to retrieve detection events from ANPR cameras.
| Method | Request Type | Response Type | Description |
|---|---|---|---|
| ListAnprEvents | ListAnprEventsRequest | ListAnprEventsResponse | |
| PullAnprEvents | PullAnprEventsRequest | PullAnprEventsResponse stream |
AnprEvent
AnprEvent describes a registration plate detection event from an ANPR camera. Includes registration plate information but also vehicle information if the camera supports it.
| Field Name | Type | Description |
|---|---|---|
| event_time | google.protobuf.Timestamp | The time the detection events occurred. |
| registration_plate | string | The registration plate detected. |
| country | string | Country of the detected registration plate. |
| area | string | Optional. The area of the detected registration plate. i.e. for UAE this could be Abu Dhabi, Dubai, etc. |
| confidence | float | Optional. The confidence level of the detection as a percentage. If omitted, means unknown confidence level. |
| plate_type | string | Optional. The type of plate, e.g. standard, personalised, etc. |
| year | string | Optional. The year of the vehicle. |
| vehicle_info | AnprEvent.VehicleInfo |
AnprEvent.VehicleInfo
Optional. Information about the vehicle itself.
| Field Name | Type | Description |
|---|---|---|
| vehicle_type | string | Optional. The type of vehicle, e.g. car, truck, etc. |
| colour | string | Optional. The colour of the vehicle. |
| make | string | Optional. The make of the vehicle. |
| model | string | Optional. The model of the vehicle. |
ListAnprEventsRequest
| Field Name | Type | Description |
|---|---|---|
| name | string | The name of the device to get the last event for. |
| read_mask | google.protobuf.FieldMask | |
| page_size | int32 | The maximum number of AnprEvents to return. The service may return fewer than this value. If unspecified, at most 50 items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| page_token | string | A page token, received from a previous ListAnprEventsResponse call. Provide this to retrieve the subsequent page. |
ListAnprEventsResponse
| Field Name | Type | Description |
|---|---|---|
| anpr_events | repeated AnprEvent | |
| next_page_token | string | A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. |
| total_size | int32 | If non-zero this is the total number of AnprEvents after filtering is applied. This may be an estimate. |
PullAnprEventsRequest
| Field Name | Type | Description |
|---|---|---|
| name | string | The name of the device to pull events for. |
| read_mask | google.protobuf.FieldMask | |
| updates_only | bool |
PullAnprEventsResponse
| Field Name | Type | Description |
|---|---|---|
| changes | repeated PullAnprEventsResponse.Change |
PullAnprEventsResponse.Change
The detection event.
| Field Name | Type | Description |
|---|---|---|
| name | string | |
| change_time | google.protobuf.Timestamp | |
| anpr_event | AnprEvent |