OCR License Plate API
POSThttps://ocrlicenseplate.infer.visai.ai/predict
Header
X-API-Key string required
Your API key
multipart/form-data
form-data body
Request Body
- files Filerequired
Licence plate image files in a form of multi-part form data using the key name files.
Responses
- 200
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
object
filename string
Name of the file
status string
success
| failed
Status of request
result object
plate_id object
transcription string
The plate number of the license plate
confidence number
The model's confidence in plate_id
prediction, expressed as a value between 0 and 1.
province object
transcription string
The province of the license plate (If there is no province, this will be an empty string)
confidence number
The model's confidence in province
prediction, expressed as a value between 0 and 1.
coord Array [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
The bounding box of the license plate in the original image.
[
{
"filename": "filename.jpg",
"status": "success",
"result": [
{
"coord": [
[
79,
77
],
[
172,
83
],
[
173,
127
],
[
82,
120
]
],
"plate_id": {
"transcription": "กข5555",
"confidence": 0.9968664050102234
},
"province": {
"transcription": "กรุงเทพมหานคร",
"confidence": 0.9998765587806702
}
}
]
}
]
Loading...