Giter VIP home page Giter VIP logo

plate_classification_segmentation's Introduction

End-to-end Model To Classify ‘Single&Double’ car plate and segment the double plate

端到端“单双行车牌”分类及分割模型

Step 1:样本准备

img_file_nameclsy1*y2 cls为分类label,例如单行0,双行1,y1,y2 为线条在x=0,x=w处y相对于h的比值 regression:直接回归两个y点; classification:分别分类两个y点,比如将h划分成32个格子。 数据增强采用有付代码

Step 2:构造网络和损失函数

搭建网络、最开始采用resnet152,效果非常好,不过训练和推理的速度都较慢; 后改为resnet18、shufflenetv2等轻量级网络,效果仍旧非常好,速度快很多; 构造损失函数,多任务方式,参考yolov3,classification loss + regression loss(两个y 的classification loss)

Step 3:展开训练

sgd 或 adam 初始lr 0.001 训练20epeoch 效果就比较好了(数据总量在10w张左右,增强后)

效果展示

模型效果图

plate_classification_segmentation's People

Contributors

tomjerrygithub avatar

Watchers

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