Tensorflow implementation of SRCNN.
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
The following results are based on 45 hours of training on my i7 CPU.
Bicubic interpolation:
SRCNN:
Bicubic interpolation:
SRCNN:
Bicubic interpolation:
SRCNN:
We can also feed any image to this model to get an upscaled version with interpolated details:
Original image:
SRCNN:
Reference: