Upload Image for License Plate Recognition
You can also use our REST API to process images programmatically. Upload an image and receive OCR results in JSON format.
cURL Example
curl -X POST \
-F "image=@license_plate.jpg" \
http://rest-openlpr.computedsynergy.com/api/v1/ocr/
license_plate.jpg with your image file path
wget Example
wget --method=POST \
--body-file=image_data.txt \
--header="Content-Type: multipart/form-data" \
http://rest-openlpr.computedsynergy.com/api/v1/ocr/
image_data.txt with multipart form data
Sample Response
{
"success": true,
"image_id": 123,
"filename": "license_plate.jpg",
"processing_time_ms": 2450,
"results": {
"detections": [
{
"plate_id": "plate1",
"plate": {
"confidence": 0.85,
"coordinates": {
"x1": 100, "y1": 200, "x2": 250, "y2": 250
}
},
"ocr": [
{
"text": "ABC123",
"confidence": 0.92,
"coordinates": {
"x1": 105, "y1": 210, "x2": 245, "y2": 240
}
}
]
}
]
},
"summary": {
"total_plates": 1,
"total_ocr_texts": 1
}
}
Recent Uploads