EnglishFrenchSpanish

Ad


OnWorks favicon

alpr - Online in the Cloud

Run alpr in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command alpr that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


OpenALPR - Automatic License Plate Recognition Library

SYNOPSIS


Plate detection: alpr [OPTION...] [IMAGE_PATH]

DESCRIPTION


OpenALPR is an open source Automatic License Plate Recognition library written in C++. The
library analyzes images and identifies license plates. The output is the text
representation of any license plate characters found in the image.

Check out a live online demo here: http://www.openalpr.com/demo.html

OpenALPR supports license plates from the USA as well as number plates from Europe. The
library can also be used to identify plates from other countries. By training the
library, the accuracy for these other countries can be increased.

USAGE


alpr [-c <country_code>] [--config <config_file>] [-n <topN>] [--seek
<integer_ms>] [-p <pattern code>] [--clock] [-d] [-j] [--]
[--version] [-h] <image_file_path>

Where:

-c <country_code>, --country <country_code>
Country code to identify (either us for USA or eu for Europe).
Default=us

--config <config_file>
Path to the openalpr.conf file

-n <topN>, --topn <topN>
Max number of possible plate numbers to return. Default=10

--seek <integer_ms>
Seek to the specified millisecond in a video file. Default=0

-p <pattern code>, --pattern <pattern code>
Attempt to match the plate number against a plate pattern (e.g., md
for Maryland, ca for California)

--clock
Measure/print the total time to process image and all plates.
Default=off

-d, --detect_region
Attempt to detect the region of the plate image. [Experimental]
Default=off

-j, --json
Output recognition results in JSON format. Default=off

--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.

--version
Displays version information and exits.

-h, --help
Displays usage information and exits.

<image_file_path>
Image containing license plates

EXAMPLES


$ alpr -c eu /source/image.jpg

This command will attempt to recognize number plates in the /source/image.jpg image using
the European-style recognition data. The config file is not provided on the CLI, so it
will use the value in the environment variable 'OPENALPR_CONFIG_FILE' if provided, or the
default location.

$ alpr --config /tmp/openalpr.conf /source/image.png

This command will attempt to recognize number plates in the /source/image.png image using
the default USA-style recognition data. The config file is not provided on the CLI, so it
will read the configuration data from /tmp/openalpr.conf

$ alpr -c us *.jpg

This command will attempt to recognize number plates in all jpeg images in the current
directory image using the USA-style recognition data.

$ alpr -j /source/video.mp4

This command reads data from an input video (/source/video.mp4) and outputs recognition
data as JSON.

$ alpr -j stdin < /source/imagefilelist.txt > /out/recognitionresults.txt

This command processes a list of image files provided in /source/imagefilelist.txt and
writes JSON results to /out/recognitionresults.txt.

$ alpr webcam

This command processes video from your webcam. You can also use /dev/video0, /dev/video1,
etc. if you have multiple webcams.

DIAGNOSTICS


License plate recognition software can never achieve 100% accuracy. In cases where the
plate is not recognized correctly, there is diagnostic information available. You can
modify the openalpr.conf file to turn "debug" information on.

In the [debug] section toggle the various debug options to enabled by changing the '0'
value to a '1'. Some of these options will output text to the CLI and others may output
images to the GUI.

Use alpr online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad