Git Product home page Git Product logo

korean-license-plate-generator-1's Introduction

Korean License Plate Generator

Download and Run. It generates images with YOLO format labels

Run

git clone https://github.com/yakhyo/Korean-License-Plate-Generate.git
python generate.py # to generate passanger car license plate images
python generate_truck.py # to generate truck license plate images

assets folder:

assets
├── chars
    ├── a.jpg
    ├── ba.jpg
    ├── bae.jpg
    └── ...
├── chars_truck
    ├── a.jpg
    ├── ba.jpg
    ├── bae.jpg
    └── ...
├── nums
    ├── 0.jpg
    ├── 1.jpg
    ├── 2.jpg
    └── ...
├── region1
    ├── 001_bu.jpg
    ├── 002_chung.jpg
    ├── 003_chung.jpg
    └── ...
├── region2
    ├── 001_san.jpg
    ├── 002_buk.jpg
    ├── 003_nam.jpg
    └── ...
└── plates
    ├── type_a
        ├── plate_1jpg
        ├── plate_2.jpg
        ├── plate_3.jpg
        └── ... 
    └── type_b
        ├── plate_1jpg
        ├── plate_2.jpg
        ├── plate_3.jpg
        └── ...
    └── type_c
        ├── plate_1jpg
        ├── plate_2.jpg
        ├── plate_3.jpg
        └── ...
    └── type_d
        ├── plate_1jpg
        ├── plate_2.jpg
        ├── plate_3.jpg
        └── ...
└── names.txt

This code generates two types of passenger car and turck license plate images:

Type A:

License plate type 1

Type B

License plate type 2

Type C

License plate type 3

Type D

License plate type 4

names.txt consists from numbers and letter combinations:

0 1 2 3 4 5 6 7 8 9 ga na da ra ma ba sa a ja ha geo neo 
deo reo meo beo seo eo jeo heo go no do ro mo bo so o jo 
ho gu nu du ru mu bu su u ju bae gwang nam je cheon dae
gang se gi gyeong san jong buk won ul chung in jeon

After running the generate.py file, result folder will appear:

result
├── images
    ├── image_a_0.jpg
    ├── image_a_1.jpg
    ├── image_a_2.jpg
    └── ...
└── labels
    ├── image_a_0.txt
    ├── image_a_1.txt
    ├── image_a_2.txt
    └── ...
  • Labels are prepared according to YOLO labelling format

To check the class distribution:

python distrib.py

Reference

  1. https://github.com/qjadud1994/Korean-license-plate-Generator

korean-license-plate-generator-1's People

Contributors

yakhyo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.