Giter VIP home page Giter VIP logo

chinese_license_plate_generator's Introduction

**车牌模拟生成器

介绍

**车牌模拟生成器

支持车牌

黄色、白色、黑色、新能源车牌

单层、双层车牌

安装教程

  • python >= 3.5
  • opencv-python >= 3.4
  • numpy >= 1.15

windows下的字符问题见:https://gitee.com/leijd/chinese_license_plate_generator/issues/I1NOC7

使用说明

1、随机生成车牌

python generate_multi_plate.py --number 10 --save-adr multi_val

随机生成车牌图片并保存

2、生成指定车牌

python generate_special_plate.py --plate-number 湘999999 --double True --bg-color yellow
参数 说明
plate-number 车牌号码
double 是否双层车牌
bg-color 底板颜色

目前支持的底板颜色有:

参数 说明
black 粤港澳
black_shi 使领馆
blue 普通轿车
green_car 新能源轿车
green_truck 新能源卡车
white 白色警车
white_army 白色军车(仅支持单层)
yellow 中型车

请设置符合交通法的车牌,否则报错。比如新能源车牌(green_car/green_truck)都是8位,没有7位。

项目说明见:https://zhuanlan.zhihu.com/p/101352235

chinese_license_plate_generator's People

Contributors

pengfei8324 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.