TIG_MI
TIG_MI copied to clipboard
Think.ai hackathon winner project : Moroccan interior design generator
🌟 THINK.AI Morocco 2023 Hackathon diffusion category winner project
Hackathon-AI-2023
Firstly, we want to Thank think AI Morocco 2023 for the 3-days AI hackathon co-hosted by 1337AI and Math&Maroc.


Welcome to our AI-powered generative interior design project Tig-mi, where we explore the beauty of Moroccan culture through innovative AI techniques!

As a demonstration we put in 3 images from dormitories of UM6P in our code to generate the same room with an added moroccan touch.






Our project consists of three main processes: data scraping, preprocessing, and diffusion 1.5. Using techniques such as data cleaning and normalization. Finally, we utilize the cutting-edge diffusion 1.5 algorithm to generate stunning, culturally-inspired interior designs.
1- Scraping
The first axis of the project involved scraping 45 images from each of the 23 queries related to Moroccan interior design, resulting in a total of 1035 images. For each image, a corresponding img {count}.txt file was created to store the title of the image. The data was then split into two files: Bs4_Images and captions, which were used in the preprocessing step.Query = ['Moroccan room design ideas',
'Moroccan bedroom design ideas',
'Living room decor ideas with Moroccan touch',
'Moroccan style bathroom ideas',
'How to decorate a room in Moroccan style',
'Moroccan inspired living room ideas',
'Moroccan decor ideas for small spaces',
'Moroccan style furniture ideas',
'Moroccan interior design tips',
'Moroccan color scheme ideas for rooms',
'DIY Moroccan room decor ideas',
'Moroccan lighting ideas for rooms',
'How to create a Moroccan-inspired outdoor space',
'Moroccan rugs for rooms',
'Moroccan style curtains and drapes',
'Moroccan zellige tile design ideas',
'Beni Ourain rug decor ideas',
'Moroccan leather pouf design ideas',
'Moroccan brass lanterns for decor',
'Moroccan ceramic bowl decor ideas',
'Moroccan wood carving design ideas',
'Moroccan textile patterns for decor',
'Moroccan wrought iron furniture design ideas']
2- Preprocessing
For a better read into our data we do some basic visualization of character count and word frequency to get an idea on the bias of the text generator.

