Code Monkey home page Code Monkey logo

imagequilting's Introduction

Image Quilting for Texture Synthesis & Transfer

Course Project for CS663


Implementation of Texture Synthesis and Texture Transfer using Image Quilting. Based on the work of Alexei Efros and William Freeman.

Usage

First, clone this repository using git clone https://github.com/tezansahu/ImageQuilting.git

CLI Tool:

To use the CLI tool associated with our project do the following:

  • cd code/
  • To perform Texture Synthesis use: python3 main.py --synthesis -i <texture_img> -b <block_size> -o <overlap_size> -t <tolerance>
  • To perform Texture Transfer use: python3 main.py --transfer -i1 <texture_img> -i2 <target_img> -b <block_size> -o <overlap_size> -t <tolerance> -a <alpha>

For more details, use python3 main.py -h

TEXTURify Cross-Platform App:

Go into the TEXTURify directory using cd TEXTURify/

To set up the FastAPI Server, do the following:

cd server/
pip3 install -r requirements.txt
uvicorn texturify_api:app --reload

The server would start running on localhost:8000

Now, to set up the Ionic App, spin up a new terminal & type ionic serve [After installing ionic using npm]

This starts the app on localhost:8100.

Disable CORS on your browser (using some extension) and start playing with the app.

Results

Some Results for Texture Synthesis

Input Image Synthesized Texture

Some Results for Texture Transfer

Target Image Texture Image Result

Created with ❤️ by Tezan Sahu, Siddharth Saha & Saavi Yadav

imagequilting's People

Contributors

tezansahu avatar spode-sleep avatar trunc8 avatar saaviyadav 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.