{"id":13470414,"url":"https://github.com/openalpr/openalpr","last_synced_at":"2025-05-13T19:05:39.603Z","repository":{"id":11733945,"uuid":"14259343","full_name":"openalpr/openalpr","owner":"openalpr","description":"Automatic License Plate Recognition library","archived":false,"fork":false,"pushed_at":"2024-01-11T02:23:51.000Z","size":5744,"stargazers_count":11163,"open_issues_count":521,"forks_count":2503,"subscribers_count":523,"default_branch":"master","last_synced_at":"2025-04-27T04:17:02.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.openalpr.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openalpr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2013-11-09T15:26:01.000Z","updated_at":"2025-04-26T10:56:59.000Z","dependencies_parsed_at":"2023-01-14T00:30:20.479Z","dependency_job_id":"ae1f8f08-0196-4f31-985d-3ae5f7115b94","html_url":"https://github.com/openalpr/openalpr","commit_stats":{"total_commits":1208,"total_committers":73,"mean_commits":16.54794520547945,"dds":0.4768211920529801,"last_synced_commit":"736ab0e608cf9b20d92f36a873bb1152240daa98"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openalpr%2Fopenalpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openalpr%2Fopenalpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openalpr%2Fopenalpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openalpr%2Fopenalpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openalpr","download_url":"https://codeload.github.com/openalpr/openalpr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251085201,"owners_count":21533844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:29.953Z","updated_at":"2025-04-27T04:17:06.318Z","avatar_url":"https://github.com/openalpr.png","language":"C++","funding_links":[],"categories":["C++","Applications","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++","Librarys","Tools"],"sub_categories":["Episodes","C++"],"readme":"openalpr\n========\n\nOpenALPR is an open source *Automatic License Plate Recognition* library written in C++ with bindings in C#, Java, Node.js, Go, and Python.  The library analyzes images and video streams to identify license plates.  The output is the text representation of any license plate characters.\n\nCheck out a live online demo here: http://www.openalpr.com/demo-image.html\n\nUser Guide\n-----------\n\n\nOpenALPR includes a command line utility.  Simply typing \"alpr [image file path]\" is enough to get started recognizing license plate images.\n\nFor example, the following output is created by analyzing this image:\n![Plate Image](http://www.openalpr.com/images/demoscreenshots/plate3.png \"Input image\")\n\n\n\n```\nuser@linux:~/openalpr$ alpr ./samplecar.png\n\nplate0: top 10 results -- Processing Time = 58.1879ms.\n    - PE3R2X     confidence: 88.9371\n    - PE32X      confidence: 78.1385\n    - PE3R2      confidence: 77.5444\n    - PE3R2Y     confidence: 76.1448\n    - P63R2X     confidence: 72.9016\n    - FE3R2X     confidence: 72.1147\n    - PE32       confidence: 66.7458\n    - PE32Y      confidence: 65.3462\n    - P632X      confidence: 62.1031\n    - P63R2      confidence: 61.5089\n\n```\n\nDetailed command line usage:\n\n```\nuser@linux:~/openalpr$ alpr --help\n\nUSAGE: \n\n   alpr  [-c \u003ccountry_code\u003e] [--config \u003cconfig_file\u003e] [-n \u003ctopN\u003e] [--seek\n         \u003cinteger_ms\u003e] [-p \u003cpattern code\u003e] [--clock] [-d] [-j] [--]\n         [--version] [-h] \u003cimage_file_path\u003e\n\n\nWhere: \n\n   -c \u003ccountry_code\u003e,  --country \u003ccountry_code\u003e\n     Country code to identify (either us for USA or eu for Europe). \n     Default=us\n\n   --config \u003cconfig_file\u003e\n     Path to the openalpr.conf file\n\n   -n \u003ctopN\u003e,  --topn \u003ctopN\u003e\n     Max number of possible plate numbers to return.  Default=10\n\n   --seek \u003cinteger_ms\u003e\n     Seek to the specified millisecond in a video file. Default=0\n\n   -p \u003cpattern code\u003e,  --pattern \u003cpattern code\u003e\n     Attempt to match the plate number against a plate pattern (e.g., md\n     for Maryland, ca for California)\n\n   --clock\n     Measure/print the total time to process image and all plates. \n     Default=off\n\n   -d,  --detect_region\n     Attempt to detect the region of the plate image.  [Experimental] \n     Default=off\n\n   -j,  --json\n     Output recognition results in JSON format.  Default=off\n\n   --,  --ignore_rest\n     Ignores the rest of the labeled arguments following this flag.\n\n   --version\n     Displays version information and exits.\n\n   -h,  --help\n     Displays usage information and exits.\n\n   \u003cimage_file_path\u003e\n     Image containing license plates\n\n\n   OpenAlpr Command Line Utility\n\n```\n\n\nBinaries\n----------\n\nPre-compiled Windows binaries can be downloaded on the [releases page](https://github.com/openalpr/openalpr/releases)\n\nInstall OpenALPR on Ubuntu 16.04 with the following commands:\n\n    sudo apt-get update \u0026\u0026 sudo apt-get install -y openalpr openalpr-daemon openalpr-utils libopenalpr-dev\n\nDocumentation\n---------------\n\nDetailed documentation is available at [doc.openalpr.com](http://doc.openalpr.com/)\n\nIntegrating the Library\n-----------------------\n\nOpenALPR is written in C++ and has bindings in C#, Python, Node.js, Go, and Java.  Please see this guide for examples showing how to run OpenALPR in your application: http://doc.openalpr.com/bindings.html\n\nCompiling\n-----------\n\n[![Build Status](https://travis-ci.org/openalpr/openalpr.svg?branch=master)](https://travis-ci.org/openalpr/openalpr)\n\nOpenALPR compiles and runs on Linux, Mac OSX and Windows.\n\nOpenALPR requires the following additional libraries:\n\n    - Tesseract OCR v3.0.4 (https://github.com/tesseract-ocr/tesseract)\n    - OpenCV v2.4.8+ (http://opencv.org/)\n\nAfter cloning this GitHub repository, you should download and extract Tesseract and OpenCV source code into their own directories.  Compile both libraries.\n\nPlease follow these detailed compilation guides for your respective operating system:\n\n* [Windows](https://github.com/openalpr/openalpr/wiki/Compilation-instructions-(Windows))\n* [Ubuntu Linux](https://github.com/openalpr/openalpr/wiki/Compilation-instructions-(Ubuntu-Linux))\n* [OS X](https://github.com/openalpr/openalpr/wiki/Compilation-instructions-(OS-X))\n* [Android Library](https://github.com/SandroMachado/openalpr-android)\n* [Android Application Sample](https://github.com/sujaybhowmick/OpenAlprDroidApp)\n* [iOS](https://github.com/twelve17/openalpr-ios)\n* [iOS React Native](https://github.com/cardash/react-native-openalpr)\n* [Xamarin](https://github.com/kevinjpetersen/openalpr-xamarin)\n\nIf all went well, there should be an executable named *alpr* along with *libopenalpr-static.a* and *libopenalpr.so* that can be linked into your project.\n\nDocker\n------\n\n``` shell\n# Build docker image\ndocker build -t openalpr https://github.com/openalpr/openalpr.git\n# Download test image\nwget http://plates.openalpr.com/h786poj.jpg\n# Run alpr on image\ndocker run -it --rm -v $(pwd):/data:ro openalpr -c eu h786poj.jpg\n```\n\nQuestions\n---------\nPlease post questions or comments to the Google group list: https://groups.google.com/forum/#!forum/openalpr\n\n\nContributions\n-------------\nImprovements to the OpenALPR library are always welcome.  Please review the [OpenALPR design description](https://github.com/openalpr/openalpr/wiki/OpenALPR-Design) and get started.\n\nCode contributions are not the only way to help out.  Do you have a large library of license plate images?  If so, please upload your data to the anonymous FTP located at upload.openalpr.com.  Do you have time to \"tag\" plate images in an input image or help in other ways?  Please let everyone know by posting a note in the forum.\n\n\nLicense\n-------\n\nAffero GPLv3\nhttp://www.gnu.org/licenses/agpl-3.0.html\n\nCommercial-friendly licensing available.  Contact: info@openalpr.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenalpr%2Fopenalpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenalpr%2Fopenalpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenalpr%2Fopenalpr/lists"}