Code Monkey home page Code Monkey logo

chinese_licence_plate_generator's Introduction

chinese_licence_plate_generator

A tool for generating Chinese license plate dataset for plate detecting   When you are working on a Automatic Number Plate Recognition(ANPR) project, you may need thoundands of samples to train. Heres is  my solution for generating chinese licence plate samples.

First Stage: Generate the plate

There are two kind of plates: 1 real plate are cutted from pictures

2 Fake plate are formed with several random characters

Second Stage: Generate world(background)

I named background with ‘world’ in my code. There are two kinds of world image: 1 image with only one color I used only blue image for blue plate, yellow and white image could be added. 2 Random image from some big datasets  

Third Stage: Add objects to world

I add some negative objects for hard nagative mining, and adds only one plate to one world. I put the position of the plate relative to the world in the image file name. You can read the position from the image file name as ground truth.   ##Prerequisites I used Python 3.5.2 (from Anaconda 4.2.0) python-opencv 3.1

Here are some examples:

excmple  excmple  excmple

chinese_licence_plate_generator's People

Contributors

nenger avatar

Watchers

 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.