Single image super resolution algorithm implementation (in progress)
Project Demo
Requirement: pip install Pillow
pip install scipy
pip install -U numpy scipy scikit-learn
Example:
image = Image.open("test_data/babyface_4.png")
sr_image = SRImageFactory.create_sr_image(image)
reconstructed_sr_image = sr_image.reconstruct(2, 'iccv09')
reconstructed_sr_image.save("test_data/babyface_sr.png", "png")
Need to work more on performance, it will take around 20 seconds to reconstruct a 128*128 image to 2X its original size, and take around 1 minutes to 4X its original size.(On i7 Cpu, 8G ram)