Installation
-
Make sure your computer has the commercial engine installed. This can be achieved by installing either the OpenALPR Agent or the Commercial SDK. This ensures that the C code bound to this Python package is available on your system.
-
IMPORTANT: you cannot use this package without a product license. If you need an evaluation license, please request one here.
-
Install this Python binding:
pip install openalpr
Example
Download and image of a car with the license plate visible, save to your computer, and run the following code:
import json
from openalpr import Alpr
alpr = Alpr("us", "/path/to/openalpr.conf", "/path/to/runtime_data")
if not alpr.is_loaded():
print("Error loading OpenALPR")
sys.exit(1)
results = alpr.recognize_file("/path/to/image.jpg")
print(json.dumps(results, indent=4))
alpr.unload()
On Linux systems, the default paths for files required to instantiate the Alpr class are
/etc/openalpr/openalpr.conf/usr/share/openalpr/runtime_data
And on Windows systems
C:\OpenALPR\Agent\etc\openalpr\openalpr.confC:\OpenALPR\Agent\usr\share\openalpr\runtime_data
Metadata
Release files for openalpr 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| openalpr-1.1.0.tar.gz | 5.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openalpr-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / openalpr-1.1.0.tar.gz
| Download URL | openalpr-1.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36f929e184e17f983ee51fbe250f3f7d50332d67df59a50dbca2331a1315d84a
|
|
BLAKE2b-256 checksum How to use checksums |
6558cb0352e3c282e40a97620f90b2107f9968074f98afb2bd6cd0aa56842d0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|
Release files / openalpr-1.1.0-py3-none-any.whl
| Download URL | openalpr-1.1.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66a9a79929f436e7e06fba28e15c9bed136c74dceda345eb5d89d19692dc9340
|
|
BLAKE2b-256 checksum How to use checksums |
32f1b7083356f03d27839dd8ddcfa00d0db6fa0d65586c93cb394b8ecb3f069c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|
Security for openalpr 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.