You can use a POST request to search for a vehicle license plate by image when using the VT recognition module.
POST http://IP address:port/lprserver/FindNumbersByImage
{
"id": {id},
"zone_x": {max_plate_length},
"zone_y": {max_plate_width},
"zone_min_x": {mix_plate_length},
"zone_min_y": {mix_plate_width},
"image": {image}
} |
| Parameter | Required | Parameter description |
|---|---|---|
| id | Yes | Server ID |
zone_x | Yes | Maximum length of a license plate, % of image size |
zone_y | Yes | Maximum width of a license plate, % of image size |
zone_min_x | Yes | Minimum length of a license plate, % of image size |
zone_min_y | Yes | Minimum width of a license plate, % of image size |
| image | Yes | Vehicle JPEG image in base64 format |
POST http://127.0.0.1:10001/lprserver/FindNumbersByImage
{
"id": "1",
"zone_x": 27,
"zone_y": 10,
"zone_min_x": 16,
"zone_min_y": 5,
"image": "/9j/4AAQSkZJRg..."
} |
{
"Plate": "X126AP550",
"Status": "OK"
} |