All Projects → marcbelmont → Deep License Plate Recognition

marcbelmont / Deep License Plate Recognition

Licence: mit
Automatic License Plate Recognition (ALPR) or Automatic Number Plate Recognition (ANPR) software that works with any camera.

Projects that are alternatives of or similar to Deep License Plate Recognition

deep-license-plate-recognition
Automatic License Plate Recognition (ALPR) or Automatic Number Plate Recognition (ANPR) software that works with any camera.
Stars: ✭ 309 (+108.78%)
Mutual labels:  ocr, bounding-boxes
Crnn.pytorch
crnn实现水平和垂直方向中文文字识别, 提供在3w多个中文字符训练的水平识别和垂直识别的预训练模型; 欢迎关注,试用和反馈问题... ...
Stars: ✭ 145 (-2.03%)
Mutual labels:  ocr
Spacextract
Extraction and analysis of telemetry from rocket launch webcasts (from SpaceX and RocketLab)
Stars: ✭ 131 (-11.49%)
Mutual labels:  ocr
Lpr
Android 车牌识别--OCR
Stars: ✭ 139 (-6.08%)
Mutual labels:  ocr
Ssocr
Seven Segment Optical Character Recognition
Stars: ✭ 133 (-10.14%)
Mutual labels:  ocr
Ambar
🔍 Ambar: Document Search Engine
Stars: ✭ 1,829 (+1135.81%)
Mutual labels:  ocr
Craft Remade
Implementation of CRAFT Text Detection
Stars: ✭ 127 (-14.19%)
Mutual labels:  ocr
Tesseract4android
Fork of tess-two rewritten from scratch to support latest version of Tesseract OCR.
Stars: ✭ 148 (+0%)
Mutual labels:  ocr
Tedeval
TedEval: A Fair Evaluation Metric for Scene Text Detectors
Stars: ✭ 143 (-3.38%)
Mutual labels:  ocr
Alfred Ocr
OCR & Translate using multiple interfaces for Alfred Workflow
Stars: ✭ 136 (-8.11%)
Mutual labels:  ocr
Easyocr
Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
Stars: ✭ 13,379 (+8939.86%)
Mutual labels:  ocr
Textrecognitiondatagenerator
A synthetic data generator for text recognition
Stars: ✭ 2,075 (+1302.03%)
Mutual labels:  ocr
Lockdemo
指纹识别、图形识别、aliOCR识别
Stars: ✭ 142 (-4.05%)
Mutual labels:  ocr
Transformer str
PyTorch implementation of my new method for Scene Text Recognition (STR) based on Transformer,Equipped with Transformer, this method outperforms the best model of the aforementioned deep-text-recognition-benchmark by 7.6% on CUTE80.
Stars: ✭ 131 (-11.49%)
Mutual labels:  ocr
Paddleocr
Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
Stars: ✭ 18,084 (+12118.92%)
Mutual labels:  ocr
Robin
RObust document image BINarization
Stars: ✭ 131 (-11.49%)
Mutual labels:  ocr
Imgaug
Image augmentation for machine learning experiments.
Stars: ✭ 12,107 (+8080.41%)
Mutual labels:  bounding-boxes
Lexpredict Contraxsuite
LexPredict ContraxSuite
Stars: ✭ 140 (-5.41%)
Mutual labels:  ocr
Stb Tester
Automated Testing for Set-Top Boxes and Smart TVs
Stars: ✭ 148 (+0%)
Mutual labels:  ocr
Scene Text Recognition
Scene text detection and recognition based on Extremal Region(ER)
Stars: ✭ 146 (-1.35%)
Mutual labels:  ocr

Automatic License Plate Recognition Software (ALPR, ANPR)

Get high-accuracy, developer-friendly automatic license plate recognition (ALPR) or automatic number plate recognition (ANPR) software! The core of our ALPR, ANPR system is based on state of the art deep neural networks architectures.

Our machine-learning software:

Snapshot : Get license plate reader from images in under 60 minutes:

Stream : Get number plate recognition from camera or video feed:

  • Returns license plate results via CSV file or Webhooks.
  • Handles 4 cameras simultaneously on mid-range PC.
  • Runs on-premise on Linux, Windows , Mac and Jetson.

ALPR, ANPR software is ideal for parking, highway monitoring, toll, police surveillance, community security, and other use cases. Our license plate recognition (LPR) software can also forward results to our full ALPR Dashboard and Parking Management software solution, ParkPow. Sign up for a Free Trial now (no credit card required) or learn more at https://platerecognizer.com.




Reading License Plates from Images

Get your API key from Plate Recognizer. Replace MY_API_KEY with your API key and run the command below.

# Getting started!
git clone https://github.com/marcbelmont/deep-license-plate-recognition.git
cd deep-license-plate-recognition
pip install requests pillow

python plate_recognition.py --api-key MY_API_KEY /path/to/vehicle.jpg

The result includes the bounding boxes (rectangle around object) and the plate value for each plate. View the details of the results on our documentation.

[
  {
    "version": 1,
    "results": [
      {
        "box": {
          "xmin": 85,
          "ymin": 85,
          "ymax": 211,
          "xmax": 331
        },
        "plate": "ABC123",
        "score": 0.904,
        "dscore": 0.92
      }
    ],
    "filename": "car.jpg"
  }
]

Lookups For a Specific Region

You can match the license plate patterns of a specific region.

python plate_recognition.py --api-key MY_API_KEY --regions fr --regions it /path/to/car.jpg

Process Multiple Files (Batch Mode)

You can also run the license plate reader on many files at once. To run the script on all the images of a directory, use:

python plate_recognition.py --api-key MY_API_KEY /path/to/car1.jpg /path/to/car2.jpg /path/to/trucks*.jpg

Running the ALPR Locally (SDK)

To use a locally hosted sdk, pass the url to the docker container as follows:

python plate_recognition.py --sdk-url http://localhost:8080 /path/to/vehicle.jpg




Blurring License Plates and Redaction

The script number_plate_redaction.py differs from the default prediction script because it also detects plates that are barely readable and/or very small. It returns the bounding boxes of all the license plates. They can be used to blur or mask the license plates.

In addition, it can split the image in smaller images to better deal with high resolution images. This will use 3 lookups instead of just 1. To use this options add --split-image.

The option --save-blurred lets you save blurred images. They are saved to a new file with _blurred suffix.

The option --ignore-regexp lets you specify a regex of plates to ignore from blur. This option can be specified multiple times.

The option --ignore-no-bb lets you ignore recognitions without a vehicle bounding box from blur.

python number_plate_redaction.py --help
python number_plate_redaction.py --api-key API_KEY vehicels.jpg
python number_plate_redaction.py --sdk-url http://localhost:8080 --split-image vehicels.jpg

python number_plate_redaction.py --api-key 77c### 58C5A57_14965463.jpg --save-blurred --ignore-regexp ^58c5a57$ --ignore-regexp ^[0-9][0-9]c5a57$




Process images from an FTP server

To process images from the FTP server run ftp_processor script:

python ftp_processor.py --api-key MY_API_KEY --ftp-host hostname --ftp-user user --ftp-password password --folder /path/to/server_folder

To remove images from FTP server after processing, add the argument --delete.




Automatic Image Transfer

Automatic Image Transfer is a command line tool that runs our ALPR Engine. It monitors a folder and automatically process images (Cloud or SDK) as they are added. Once processed, images are moved to an archive directory. It can also forward the results to our parking management service Parkpow.

To get started: python transfer.py --help




Code Samples

See our sample projects to easily get started with the API.





Have questions? Let us know how we can help.

Provided by Plate Recognizer, a subsidiary of ParkPow.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].