This is an implementation of the Image Quilting for Texture Synthesis and Transfer by Alexei A. Efros and William T. Freeman in python. The paper can be viewed here.
Given are some of the textures generated using the written program. More textures generated can be found here and the input files here.
Input | Output(Texture) |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Clone the project
git clone https://github.com/lostmartian/image-quilting-texture-synthesis.git
Go to the project directory
cd image-quilting-texture-synthesis
Activate virtual environment and install the required dependencies
source venv/bin/activate
pip3 install -r requirements.txt
Run the program
python3 main.py
Remember to change the img variable path for the required input file