Skip to content

Tensorflow implementation of single image super-resolution using a Convolutional Neural Network

License

Notifications You must be signed in to change notification settings

Edwardlzy/SRCNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRCNN

Tensorflow implementation of super-resolution using CNN.

Prerequisites

  • Python 3
  • Tensorflow
  • Numpy
  • Scipy
  • Opencv 3
  • h5py

Usage

To train, uncomment the scripts in the bottom in net.py. Then type python net.py
To test, set proper img_path, save_path and upscaling factor (multiplier) in the use_SRCNN.py. Then type python use_SRCNN.py

Results

The following results are based on 45 hours of training on my i7 CPU.
Bicubic interpolation:
bicubic
SRCNN:
srcnn

We can also feed any image to this model to get an upscaled version with interpolated details:
Original image:
lenna
SRCNN:
3xlenna

Reference:

About

Tensorflow implementation of single image super-resolution using a Convolutional Neural Network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages