smaranjitghose / ArtCV

Randomly Exploring Computer Vision techniques to create eye catching art out of plain boring images!
MIT License
49 stars 37 forks source link

Add Mosaic Script + Assets #51

Closed aryashah2k closed 3 years ago

aryashah2k commented 3 years ago

Converts Image To Mosaic Art

Reference Issue: #7

About the PR:

Process:

  1. Splitting the Main image
  2. Renaming the filler images
  3. Cropping the filler images into square shape
  4. Resizing the filler images
  5. Finding the average RGB value of each filler image
  6. Finding the average RGB value of each main image block
  7. Finding the matching filler images for the main image blocks based on the average RGB values
  8. Stitching the matched filler images to form the final photomosaic

Final Output Of The Kolkata Image:

Mosaic Output

smaranjitghose commented 3 years ago