Coder Social home page Coder Social logo

sarathsajan / photomosaic_generator Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 90.96 MB

Photomosaic Generator tool. Works with all types of images. Doesn't matter what shape the image is, it will automatically trim it into square images and produce a photomosaic whose quality and resolution can be user adjusted.

Home Page: https://www.youtube.com/watch?v=GNd3fVvs93U

Python 100.00%
photomosaic photomosaic-generator python opencv-python

photomosaic_generator's Introduction

PhotomosaicGenerator

A python program that takes one main image and tens of other filler images to form a photomosaic of the main image consisting of the filler images as tiles. Provides the option to set the resolution of individual tiles that make up the photomosaic and also control the sampling resolution of the final output.


Project Summary [VIDEO]


Working

1. Take a main image and paste it in the "main image" folder.



2. Collect lots of filler images which will be used as tiles and paste them in the "filler images" folder. The more the merrier.




3. Run the program and you get the photomosaic auto-magically!!!

>>> photomosaic_generator.py

Here is the link to the photomosaic in its full glory [File size is 30MB]


4. The program supports command-line arguments so you can run the following command to get help and more settings

>>> photomosaic_generator.py --help

photomosaic_generator's People

Contributors

sarathsajan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

photomosaic_generator's Issues

new upgrade ideas - september 2023

  1. convert into standalone app using
  • pyinstaller OR
  • nuitka
  1. no need to write extra code for temp file management. temp files can be generated and auto removed using the tempfile module.

  2. create a simple gui using

next upgrade idea

  • create a webapp, so that more people can access the solution.
  • try a different approach for image matching like
    • Structural Similarity Index (SSIM)
    • Template matching heatmap
    • Any Feature matching algo

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.