Reprocess a license plate
PUThttps://demo.frigate.video/api/lpr/reprocess
Reprocesses a license plate image to update the plate. Requires license plate recognition to be enabled in the configuration. The event_id must exist in the database. Returns a success message or an error if license plate recognition is not enabled or the event_id is invalid.
Request​
Query Parameters
event_id Event Idrequired
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
Schema
Validation Error
- application/json
- Schema
- Example (auto)
Schema
detail object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- python
- nodejs
- javascript
- curl
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("demo.frigate.video")
payload = ''
headers = {
'Accept': 'application/json'
}
conn.request("PUT", "/api/lpr/reprocess", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear