Documentation for Auto PSIM 1.0.1.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

You can use a POST request to search for a vehicle license plate by image when using the VT recognition module.

General request format:

POST http://IP address:port/lprserver/FindNumbersByImage

Request body:

{
"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}
}

Parameters in the request body:

ParameterRequiredParameter description
idYes

Server ID

zone_x
YesMaximum length of a license plate, % of image size
zone_y
YesMaximum width of a license plate, % of image size
zone_min_x
YesMinimum length of a license plate, % of image size
zone_min_y
YesMinimum width of a license plate, % of image size
imageYesImage of a vehicle in Base64

Example of a request:

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..."
}

Example of a response:

{
    "Plate": "X126AP550",
    "Status": "OK"
}


  • No labels