license plate recognition from image
985
Run docker-compose up with the b/m docker-compose.yml and test endpoint with b/m API, body and check against expected results
version: '3.3'
services:
alpr:
ports:
- '6891:6891'
volumes:
- '/home:/home'
restart: unless-stopped
environment:
- LP_THRESHOLD=0.3
- OCR_THRESHOLD=0.4
- MIN_LP_LENGTH=3
image: echizen321/alpr
lower bound for detection of license plate
threshold for reading license plate text
minimum length of text read to be accepted as license plate
POST
http://172.17.0.2:6891/ALPR
{
"fileLocation": "/home/plato/Desktop/license_plate_recognition/cars_data/sg.jpg"
}
{
"cars_detected": true,
"license_plates": [
"SGL70IB"
]
}
2a) if vehicle exists, check the vehicle for LP (tighter constraint for LP detection)
2b) else, check original image for LP anyway (in case a cropped vehicle was not detected)
Content type
Image
Digest
Size
2 GB
Last updated
almost 6 years ago
docker pull echizen321/alpr