SkillAgentSearch skills...

PyANPD

Automatic Number Plate Detection for Python using OpenCV

Install / Use

/learn @abdulfatir/PyANPD
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

pyANPD

pyANPD is a high recall automatic number plate detector based on this Stack Overflow answer. For details of the algorithm, check the answer on Stack Overflow. The detector is robust to orientation. The precision decreases and recall increases if the edge_density threshold is decreased.

Dependencies

  1. OpenCV
  2. Numpy

Usage

python pyANPR.py <image_file_path>

This outputs an image with the same name with -detected appended.

How to tweak it for your dataset?

Change aspect_ratio_range (Range of Aspect Ratio for Accepted Rectangles), area_range (Range of Area for Accepted Rectangles), and se_shape (Shape of Structuring Element for Morphological Closing) to the taste of your own dataset.

Results

1 2 3

Related Skills

View on GitHub
GitHub Stars67
CategoryDevelopment
Updated2mo ago
Forks33

Languages

Python

Security Score

80/100

Audited on Jan 10, 2026

No findings