Skip to content

hasibzunair/simsyn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimSyn - Generate similar but synthetic images

Generate visually similar synthetic images using image captions as prompts to an image generation model.

Open In Colab



Why though?

Some possible use-cases are:

  1. Generate synthetic images/datasets of objects or concepts that are not known (i.e. don't know the prompt)
  2. Could be a form of art therapy, you give the image as an artist, get to see more images of the same kind

How does it work?

Given an input image, a text is generated which describes the image using an Image-To-Text model. Next, this text is used as a prompt to synthesize new images (hopefully similar to the input!) by using a Text-To-Image generative model. See flow chart below.

flowchart TD
    A(Input Image) --> B[Image-To-Text Model];
    B -->|text as prompt| C[Text-To-Image Model]; 
    C --> D(Synthetic Image);

Todos

Some things I might try:

  • Prompt blending
  • Morph between multiple image inputs

Acknowledgements

License

Whatever licenses the pretrained models have.

About

Generate visually similar synthetic images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published