Skip to content

Nexlson/Malaysia_License_Plate_Generator

Repository files navigation

Malaysia License Plate Generator

This repository contains:

  • Generate malaysia car plate for Automatic Car Plate Recognition training
  • Create one line or two line car plate
  • Augmentation for different rotations and lightining

Malaysia License Plate

Malaysia Car Plate

Above is a common malaysia car plate


The Malaysia License Plate follows the "Sxx ####" format:

  • 'S' is state prefix
  • 'x' is the alphabetical sequences
  • '#' is the number sequences
  • The font type can be any easy to read typeface such as Arial Bold and Charles Wright

However, there are several exceptions on the format where:

  • No leading 0 in number sequences
  • The alphabetical number, 'O' and 'I' is omitted due to similiar with number 0 and 1
  • The alphabetical number, 'Z' is omitted to reserved for Malaysian military used

Commemorative Plates

Putrajaya Series Car Plate

  • Commemorative plates have specific alphabetical sequences which ignore the standard format
  • For example, Putrajaya series uses calisto italic font and start without following the standard format

Total number characters

There will be around 5 - 8 numbers for standard format


How to Use

Generate 5 fake car plate with default settings

    python3 main.py --total_plate 5

Display help instructions and default settings in console

    python3 main.py --help 

Results

Here are the results of the generator

Single line

Fake Single Car Plate

Double line

Fake Double Car Plate

Putrajaya

Fake Double Car Plate

Putrajaya only support single line


Reference

About

Malaysia car plate generator for car plate recognition model training

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published