Downloads · 30 days
0
CodexParas/car-plate-detection-ppocr-v4-mobile
car-plate-detection-ppocr-v4-mobile is a object detection model from CodexParas. Use it when you need objects located in an image. The card lists the license as apache-2.0.
This repository contains a PP-OCRv4 Mobile detection model fine-tuned for Car License Plate Detection. The model is built using the PaddleOCR framework and is optimized for mobile and edge deployment.
Downloads · 30 days
0
Access
Public
Updated Mar 21, 2026
Repo size
47.5 MB
Likes
0
Public
Click a slice to open those files.
.pdopt28.4 MB · 60%
From the Hugging Face model README
This repository contains a PP-OCRv4 Mobile detection model fine-tuned for Car License Plate Detection. The model is built using the PaddleOCR framework and is optimized for mobile and edge deployment.
The model was trained on the Car License Plate Detection dataset from Kaggle, which consists of images with bounding box annotations for license plates.
To use this model, you need to install paddlepaddle and paddleocr:
pip install paddlepaddle paddleocr
You can use the following snippet to run detection on an image:
from paddleocr import PaddleOCR
from pathlib import Path
# Path to the directory containing the downloaded model files
MODELS_DIR = Path("path/to/models")
# Initialize the OCR engine
pp_v4 = PaddleOCR(
use_textline_orientation=True,
lang='en',
device='cpu',
text_detection_model_dir=str(MODELS_DIR / "ppocr_v4"),
text_detection_model_name="PP-OCRv4_mobile_det"
)
img_path = 'car_image.jpg'
result = pp_v4.ocr(img_path, det=True, rec=False)
# Visualize results
for line in result:
for box in line:
print(f"Detected License Plate Box: {box}")
config.yml: Training configuration.inference.pdiparams: Model weights for inference.inference.yml: Inference-specific configuration.best_accuracy.pdparams: Best model weights during training.run_summary.json: Summary of the training run.