# License Plate Enhancement - From TV shows to reality
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
Author: Zixuan Zhang, Chengxuan Cai
## Welcom to LicenseEnhancer
In Hollywood crimes movies we often see detectives solving crimes with the help from one of
their computer geeks who can reveal hidden information from blurred, low-quality images. This
project is an effort to achieve the same task, but on one specific type of image - license plates.
License plate enhancement is a detailed application of a broader field called *Single Image Super Resolution*
(SISR).
The project is inspired by several state-of-the-art SRSR models such as:
* [Photo-realistic single image super resolution using a Generative Adversarial Network](https://arxiv.org/abs/1609.04802)
* [Residual Dense Network for Image Super Resolution](https://arxiv.org/abs/1802.08797)
* [ESRGAN: Enhanced Super-Resolution Generative Adversarial Networks](https://arxiv.org/abs/1809.00219)
* [Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network](https://arxiv.org/abs/1609.05158)
The dataset used in this project is called the [Chinese City Parking Dataset](https://github.com/detectRecog/CCPD), a large-scale collection of plate images in
various conditions.
Read my post on [Medium](https://towardsdatascience.com/license-plate-image-enhancement-5a170475bec1) for further understanding
## Gallery
![gallery](Misc/Gallery.jpg)
## Requirement
Preprocessing
* Dask >= 2.11.0
* PIL >= 6.2.2
Training & Evaluation
* tensorflow >= 2.1.0
* numpy >= 1.18.1
* matplotlib >= 3.1.3
## Pipeline
![pipeline](Misc/Pipeline.jpg)
Before training the model it is important to preprocess the raw dataset using the preprocess.py script
## Model Architecture
Our plate enhancer model is trained in an adversarial fashion(GAN), meaning the generator is trained to create realistic
reconstruction of images that can fool the discriminator, which is a binary classifier. Why GANs? Well, according to several
papers, GAN network tend to create more realistic image reconstruction comparing to model solely trained in the supervised
fashion. For instance, models that minimize Mean Square Error tend to have over-smoothing artifacts.
![comparsion](Misc/Comparision.jpg)
Therefore, there are two models - the generator(reconstructor) and the discriminator(classifier).
#### Generator
![generator](Misc/Generator.jpg)
The generator is trained to minimize a novel hybrid loss function, namely the perceptual loss defined in the SRGAN paper
#### Discriminator
![discriminator](Misc/Discriminator.jpg)
## Acknowledgement
I'd like to thank Olaoluwa Adigun for his amazing suggestions during the span of this project!
This project won the *Best Deep Learning Design Award* in USC EE599-Deep Learning. Here's the [link](https://drive.google.com/file/d/1VdCU_LArUe-KHj5vDVT0xyne9-bVK7n4/view)
to our amazing rojects done by my classmates!
Also, this project stands on the shoulder of many other SISR projects:
* [ESPCN](https://github.com/leftthomas/ESPCN)
* [SRGAN](https://github.com/tensorlayer/srgan)
* [ESRGAN](https://github.com/xinntao/ESRGAN)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【探索人工智能的宝藏之地】 无论您是计算机相关专业的在校学生、老师,还是企业界的探索者,这个项目都是为您量身打造的。无论您是初入此领域的小白,还是寻求更高层次进阶的资深人士,这里都有您需要的宝藏。不仅如此,它还可以作为毕设项目、课程设计、作业、甚至项目初期的立项演示。 【人工智能的深度探索】 人工智能——模拟人类智能的技术和理论,使其在计算机上展现出类似人类的思考、判断、决策、学习和交流能力。这不仅是一门技术,更是一种前沿的科学探索。 【实战项目与源码分享】 我们深入探讨了深度学习的基本原理、神经网络的应用、自然语言处理、语言模型、文本分类、信息检索等领域。更有深度学习、机器学习、自然语言处理和计算机视觉的实战项目源码,助您从理论走向实践,如果您已有一定基础,您可以基于这些源码进行修改和扩展,实现更多功能。 【期待与您同行】 我们真诚地邀请您下载并使用这些资源,与我们一起在人工智能的海洋中航行。同时,我们也期待与您的沟通交流,共同学习,共同进步。让我们在这个充满挑战和机遇的领域中共同探索未来!
资源推荐
资源详情
资源评论
收起资源包目录
图像识别算法:基于CNN多标签分类的车牌识别;renet残差网络.zip (88个子文件)
资料总结
picture
pic.jpg 10KB
plate_detect_and_recognition
recog
__init__.py 0B
generate
plate.py 2KB
preprocess
plate_enhange
Enhance_Image.py 1KB
LICENSE 1KB
Utilities
__init__.py 0B
preprocess.py 5KB
painter.py 982B
trainVal.py 8KB
lossMetric.py 2KB
io.py 1KB
Pretrained
checkpoint 65B
rrdb.data-00001-of-00002 27.34MB
rrdb.index 7KB
rrdb.data-00000-of-00002 16KB
Tutorial_2_Training.ipynb 23KB
.gitignore 2KB
README.md 3KB
Models
__init__.py 0B
SRResNet.py 3KB
GAN.py 2KB
RRDBNet.py 3KB
ESPCN.py 1KB
Training.py 3KB
Tutorial_1_Enhance_Image.ipynb 360KB
predict
tensor
__init__.py 0B
cnn.py 1KB
__init__.py 0B
model
tensor
__init__.py 0B
cnn.py 4KB
__init__.py 0B
layer
tensor
__init__.py 0B
inception10.py 3KB
vgg16.py 4KB
alexnet8.py 2KB
cnn.py 16KB
lenet5.py 953B
resnet18.py 3KB
baseline.py 1KB
__init__.py 0B
main.py 2KB
detect
detect.py 6KB
.gitignore 77B
README.md 484B
ocr
__init__.py 0B
generate
plate.py 2KB
tests
tensor
__init__.py 0B
plate.py 2KB
cnn.py 375B
__init__.py 0B
predict
tensor
__init__.py 0B
cnn_plate.py 2KB
resnet1.py 1KB
cnn.py 1KB
resnet.py 1KB
__pycache__
resnet.cpython-37.pyc 2KB
cnn.cpython-37.pyc 2KB
cnn_plate.cpython-37.pyc 2KB
__init__.cpython-37.pyc 142B
resnet1.cpython-37.pyc 2KB
__init__.py 0B
__pycache__
__init__.cpython-37.pyc 135B
model
tensor
__init__.py 0B
cnn_plate.py 2KB
resnet1.py 5KB
cnn.py 4KB
resnet.py 3KB
__pycache__
resnet.cpython-37.pyc 3KB
cnn.cpython-37.pyc 3KB
cnn_plate.cpython-37.pyc 2KB
__init__.cpython-37.pyc 140B
resnet1.cpython-37.pyc 3KB
base.py 4KB
__init__.py 0B
__pycache__
__init__.cpython-37.pyc 133B
__pycache__
__init__.cpython-37.pyc 127B
layer
tensor
__init__.py 0B
cnn_plate.py 1KB
resnet1.py 3KB
cnn.py 1KB
resnet.py 3KB
__pycache__
resnet.cpython-37.pyc 2KB
cnn.cpython-37.pyc 1KB
cnn_plate.cpython-37.pyc 1KB
__init__.cpython-37.pyc 140B
resnet1.cpython-37.pyc 3KB
__init__.py 0B
__pycache__
__init__.cpython-37.pyc 133B
共 88 条
- 1
资源评论
妄北y
- 粉丝: 1w+
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- JSP Explorer 文件浏览器 v1.0-fileexplorer.zip
- JS+Flash让网页元素发光的插件 glow! 0.1-glow.zip
- JdonFramework开源框架 v5.1 Build20071025-jdonframework-5.1.zip
- 汽车行驶工况数据,excel,m文件
- Xshell6是一款功能强大的终端模拟器软件,主要用于远程管理和访问多种网络设备和服务器
- OPA548运放E/S脚使能后,输入电压为零时,输出电压为0.6V;电路如何设计才能使输出电压偏置为:0V
- MicrosoftRootCertificateAuthority2011.rar
- ISOSAE21434.D1-2020SAE美国汽车标准
- 奥比中光RGBD在JETSON ORIN NX的ROS程序
- SerialNumberUtil.java
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功