MareArts ANPR SDK

PyPI version Python versions Downloads  Live Demo

Automatic Number Plate Recognition (ANPR) SDK for multiple regions with GPU acceleration support.

Features

  • 🚗 Multi-Region Support: EU, Korea, China, and Universal license plates
  • Performance: Optimized C++ core with GPU acceleration support
  • 🎯 Accuracy: Trained detection and OCR models for various regions
  • 🔧 Integration: Python API and command-line tools
  • 🐳 Deployment: Docker support and API server examples

Quick Start

Installation

# CPU Installation
pip install marearts-anpr

# GPU Installation (for faster processing)
pip install marearts-anpr[gpu]        # NVIDIA CUDA
pip install marearts-anpr[directml]   # Windows GPU

Basic Usage

from marearts_anpr import marearts_anpr_from_image_file
from marearts_anpr import ma_anpr_detector, ma_anpr_ocr

# Set environment variables (recommended)
# export MAREARTS_ANPR_USERNAME="your-email@domain.com"
# export MAREARTS_ANPR_SERIAL_KEY="your-serial-key"

# Initialize
detector = ma_anpr_detector("v13_middle", user_name, serial_key)
ocr = ma_anpr_ocr("v13_euplus", user_name, serial_key)

# Process image
result = marearts_anpr_from_image_file(detector, ocr, "image.jpg")
print(result)
# Output: {'results': [{'ocr': 'ABC123', 'ocr_conf': 99, ...}], ...}

CLI Usage

# Process image
ma-anpr image.jpg

# Test without credentials (1000 requests/day)
ma-anpr test-api image.jpg

# Validate license
ma-anpr validate

Documentation

Performance

Model Accuracy F1 Score Speed (ms)
v13_middle (Detector) 96.3% 0.973 163
v13_euplus (OCR) 96.2% 0.990 82
v13_kr (OCR) 97.2% 0.995 85
v13_cn (OCR) 96.6% 0.993 86
v13_univ (OCR) 98.3% 0.996 85

MareArts Ecosystem

Explore our AI toolkit:

  • marearts-anpr - Automatic Number Plate Recognition (GitHub)
  • marearts-road-objects - Road object detection for persons, vehicles, and 2-wheelers (GitHub)
  • marearts-xcolor - Color extraction and similarity analysis (GitHub)
  • marearts-mast - Real-time panoramic stitching (GitHub)
  • marearts-crystal - Encryption and decryption toolkit (PyPI)

Support & Resources

Resource Link
📧 Contact hello@marearts.com
🏠 Homepage https://marearts.com
💳 License Purchase ANPR Solution
🎮 Live Demo http://live.marearts.com
📺 Video Examples YouTube Playlist
🧪 Colab Demo Open In Colab

License

This software requires a valid license key. Get it on here.  

© 2024 MareArts. All rights reserved.