Thanks to visit codestin.com
Credit goes to github.com

Skip to content

migueldecampos/license_plate_detection

Repository files navigation

License Plate Detection

This repo contains a PyTorch finetuning script for a Mask R-CNN model with a ResNet-50-FPN backbone (from the Mask R-CNN paper) on a large dataset of license plates.

How to use

  • pip install -r requirements.txt

Training:

  • Download dataset
  • Clean dataset using dataset_scripts/clean_dataset.py
  • python train.py

Inference:

  • python inference.py <path to model pickle file> <path to image>

Results

Original Image: Original Detection: detection

Original Image: Original Detection: detection

Original Image: Original Detection: detection

References

This code was adapted from this tutorial.

About

Fine-tuning object detection models for license plate detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages