1 Star 1 Fork 1

zhuzhengxiong / License-super-resolution

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

License Plate Enhancement - From TV shows to reality

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:

The dataset used in this project is called the Chinese City Parking Dataset, a large-scale collection of plate images in various conditions.

Read my post on Medium for further understanding

Gallery

gallery

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 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 Therefore, there are two models - the generator(reconstructor) and the discriminator(classifier).

Generator

generator The generator is trained to minimize a novel hybrid loss function, namely the perceptual loss defined in the SRGAN paper

Discriminator

discriminator

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 to our amazing rojects done by my classmates!
Also, this project stands on the shoulder of many other SISR projects:

MIT License Copyright (c) 2020 Zixuan Zhang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A License Plate Image Reconstruction Project in Tensorflow2 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/zzxspace/License-super-resolution.git
git@gitee.com:zzxspace/License-super-resolution.git
zzxspace
License-super-resolution
License-super-resolution
master

搜索帮助