Licence Plate EU
Input Image Requirements
Please ensure that you follow the below guidelines and requirements when scanning an image.
-
Recommended Formats: JPG
-
Supported Formats: JPG, PNG
-
Maximum Body size: 10MB
Using the Licence Plate EU API
To make a call to the Licence Plate EU API, create a POST Request and include the following shown in the below example:
curl --request POST \
--url https://api.anyline.com/v2/licenseplate/eu \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data '{image: "yourBase64Image"}'
Be sure to replace YOUR_ACCESS_TOKEN with your actual access-token, and the "yourBase64Image" String with the blob for the image you wish to scan.
|
After the call has been sent, you will receive a result including a JSON File like the following example:
{
"country_code": "DE",
"region_code": null,
"plate_identifier": "RO GK 3570",
"plate_position": [[0.0965, 0.5026], [0.2913, 0.5388], [0.2913, 0.6050], [0.1007, 0.5663]],
"field_confidences": {
"country_code": 0.880,
"region_code": null,
"plate_identifier": 0.993,
"plate_position": 0.880,
}
}
And that’s it! You’ve successfully scanned an image using the Licence Plate EU API!
Scan capability overview
The Anyline Licence Plate EU API currently supports
extraction of the following license plate information from EU regions:
-
Country Code
-
Region Code (for selected countries)
-
Plate Identifier
-
Plate Identifier Position
Output Format
The expected output format is following
Name | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Country Code
The following countries are supported for automatic country detection provided that they use a blue euroband
(additional support for Switzerland’s coat of arms and non-blue eurobands in Iceland, UK, Ukraine).
-
(AL) Albania
-
(AT) Austria
-
(BE) Belgium
-
(BA) Bosnia and Herzegovina
-
(BG) Bulgaria
-
(BY) Belarus
-
(HR) Croatia
-
(CY) Cyprus
-
(CZ) Czech Republic
-
(DK) Denmark
-
(EE) Estonia
-
(FL) Falkland Islands
-
(FO) Faroe Islands
-
(FI) Finland
-
(FR) France
-
(GE) Georgia
-
(DE) Germany
-
(GI) Gibraltar
-
(GR) Greece
-
(HU) Hungary
-
(IS) Iceland
-
(IE) Ireland
-
(IT) Italy
-
(KS) Kosovo
-
(LV) Latvia
-
(LT) Lithuania
-
(LU) Luxembourg
-
(MT) Malta
-
(MD) Moldova
-
(ME) Montenegro
-
(NL) Netherlands
-
(MK) North Macedonia
-
(NO) Norway
-
(PL) Poland
-
(PT) Portugal
-
(RO) Romania
-
(RS) Serbia
-
(SK) Slovakia
-
(SI) Slovenia
-
(ES) Spain
-
(SE) Sweden
-
(CH) Switzerland
-
(TR) Turkey
-
(UA) Ukraine
-
(GB) United Kingdom
Region Code (for selected countries)
Plate Identifier Position
The Plate Identifier Position returned by the Anyline Licence Plate EU
API corresponds to 4 corners of the licence plate.
Output Format
The output of the Plate Identifier Position is a list of [X, Y]
pairs, represneting 4 corner points
of the detected licence plate. Each [X, Y]
pair corresponds to the position of the corner in normalized
coordinates in the range [0, 1]
. In order to obtain absolute coordinates values of the Plate Identifier Position
should be multiplied by respectful width and height of the image, which was provided to the Anyline Licence Plate EU
API.
Limitations
-
Limited support for special characters
-
Limited support for non-standard mounted or bent license plates
-
Limited support for black license plates
-
Limited support for Temporary License Plates
-
Limited support for country detection on blue multi row license plates (e.g. Austrian dealer plates).
-
Limited support for non-standard license plates