The document outlines an API for object detection, specifically focusing on license plate recognition and vehicle analysis. It details required parameters including the image URL and an API key, as well as optional parameters to enhance detection such as license plate detection, vehicle make and model identification, and additional metadata. A sample request demonstrates the use of the API, while a JSON response example showcases the data returned, including license plate details and vehicle position. The document also emphasizes the need for the image URL to be online and hints at future support for batch processing.
Base URL: #
http://84.200.6.42:5000/
Version: 1.0 (OAS3)
GET /ObjectDetection #
Performs object detection on a given image. Primarily used for license plate recognition and vehicle analysis.
Required Query Parameters
Parameter | Type | Description |
Image_url | string | URL of the image to process. |
Api_key | string | Your authentication key. |
GA | string | Application-specific ID or token. |
Optional Query Parameters #
Parameter | Type | Description |
Detect_license_plate | boolean | Enable license plate detection. |
Read_license_plate | boolean | Enable license plate recognition. |
Detect_make_and_model | boolean | Attempt to identify car make and model. |
Include_additional_info | boolean | Include more metadata about the detection (if available). |
Detect_vehicle_position | boolean | Include vehicle position data in the response. |
Input_size | integer | Input image resizing value (int32). |
Version | string | API version to use (optional override). |
Sample Request #
GET /ObjectDetection?Image_url=https://example.com/car.jpg
&Api_key=your_api_key
&GA=abc123
&Detect_license_plate=true
&Read_license_plate=true
&Detect_make_and_model=true
&Input_size=1024
Sample JSON Response #
{
"success": true,
"license_plate": "ABC1234",
"make": "Toyota",
"model": "Corolla",
"position": {
"x": 152,
"y": 237,
"width": 130,
"height": 60
},
"additional_info": {
"confidence": 0.97,
"region": "EU"
}
}
Notes #
- Ensure your Image_url is accessible over the internet.
- Boolean parameters can be set as true or false.
- The API may support batch processing in future versions.
Frequently Asked Questions #
โ Frequently Asked Questions (FAQ) #
- 10. How do I report a bug or request support?
Please contact our support team at: support@intertraff.com or raise a ticket via your dashboard.
- 9. What happens if some parameters are missing?
Required parameters like
Image_url
,Api_key
, andGA
must be included. Missing optional parameters will use default values or be skipped. - 8. Is batch processing supported?
Not yet. The current version processes one image per request. Batch support may be introduced in a future release.
- 7. Can I use local image files instead of URLs?
Yes, it is possible by …….
- 6. How accurate is the license plate recognition?
Accuracy can vary depending on image quality, angle, lighting, and plate visibility. In good conditions, it can achieve over 95% accuracy.
- 5. Can the API detect car make and model?
Yes, by setting
Detect_make_and_model=true
, the API will try to identify the vehicleโs brand and model, depending on the clarity of the image. - 4. What is the GA parameter?
The
GA
parameter typically used to select the region where you are welling to install the LPR system (EU, ME, …) - 3. Do I need an API key?
Yes. A valid
Api_key
is required with each request to authenticate your access. - 2. What type of images are supported?
You can submit any publicly accessible image URL (JPEG, PNG, etc.). The image should clearly show the vehicle and license plate for accurate results.
- 1. What is AnprWebApi?
AnprWebApi is an API service for detecting and recognizing vehicle license plates and other vehicle-related information from an image.