Code Monkey home page Code Monkey logo

license-super-resolution's Introduction

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:

license-super-resolution's People

Contributors

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