Skip to content

1nn0k3sh4/trendevourer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Trend Devourer ๐Ÿ‘—โœจ

AI-Powered Visual Style Analyst

Python PyQt6 Ollama License

Trend Devourer is an intelligent desktop application that analyzes clothing photos using local AI models and generates stylish, personalized fashion trend reports. Perfect for stylists, shopaholics, and anyone looking to organize their wardrobe.


๐Ÿš€ Features

  • ๐Ÿ–ผ๏ธ Image Analysis โ€” Upload 3+ photos of clothing, accessories, or outfits
  • ๐Ÿง  Dual AI Model
    โ€” BakLLaVA (computer vision) describes each look
    โ€” Mistral 7B (text model) creates a coherent style report
  • ๐Ÿ“ Smart Reporting โ€” Output includes:
    • Analysis of colors and key items
    • Trend identification
    • 3โ€“5 mix-and-match ideas
    • Friendly, conversational advice
  • ๐Ÿ“ค PDF Export โ€” Save reports in a beautifully formatted PDF
  • ๐ŸŽจ Stylish Interface โ€” Dark theme with gradient buttons and smooth animations
  • โšก Local Processing โ€” All data stays on your computer, no cloud services required

๐Ÿ–ผ๏ธ Screenshots

Demo 1: Application Interface

Application Interface Main application window showing image selection and live analysis progress

Demo 2: Style Report Generation

Style Report Generation Generated style report with analysis, outfit ideas, and export functionality


๐Ÿ› ๏ธ Tech Stack

Component Purpose
Python 3.9+ Core language
PyQt6 Graphical user interface
Ollama Local AI model runner
BakLLaVA Multimodal model for image description
Mistral 7B Text model for report generation
Pillow Image processing
WeasyPrint PDF generation
Requests HTTP requests to Ollama API

๐Ÿ“ฆ Installation & Running

1. Install Ollama

Download and install Ollama for your OS.

2. Pull Required Models

ollama pull bakllava
ollama pull mistral:7b

3. Clone the Repository

git clone https://github.com/1nn0k3sh4/trendevourer.git
cd trendevourer

4. Install Python Dependencies

pip install -r requirements.txt

5. Run the Application

python trendevourer.py

๐ŸŽฏ How to Use

  1. Start Ollama (must be running on localhost:11434)
  2. Open Trend Devourer
  3. Click "Select 3+ Pictures" and choose photos of clothing/outfits
  4. Click "Generate Style Report" โ€” watch the process in the live log
  5. Read the report in the main window
  6. Export to PDF with the "Export to PDF" button

๐Ÿง  Architecture

GUI (PyQt6)
    โ”‚
    โ”œโ”€โ”€ Image Loading โ†’ Pillow (preprocessing)
    โ”‚
    โ”œโ”€โ”€ AnalyzerThread (QThread)
    โ”‚   โ”œโ”€โ”€ BakLLaVA โ†’ describe each image
    โ”‚   โ””โ”€โ”€ Mistral 7B โ†’ generate final report
    โ”‚
    โ”œโ”€โ”€ Real-time logging
    โ”‚
    โ””โ”€โ”€ Export โ†’ WeasyPrint (PDF)

๐Ÿ“„ Sample Report

## Analysis
The looks show a mix of casual and semiโ€‘formal styles with a focus on earthy tones and layered pieces.

## Key Colors & Items
- Olive green, beige, soft pink
- Oversized blazers, highโ€‘waisted trousers, ankle boots

## Mixโ€‘andโ€‘Match Ideas
1. Pair the olive blazer with beige trousers for a smartโ€‘casual office look.
2. Combine the pink sweater with jeans and ankle boots for a weekend brunch.
3. Layer the trench coat over everything for a polished outer layer.

๐Ÿงช Real Test Results

Here's an actual report generated by Trend Devourer from 3 test images:

## Analysis

We've delved into three distinct decades of fashion, each with its unique charm and appeal. Let's break down the key elements from these looks:

1. **1960s Retro Chic**: This look features a fuzzy coat, black boots, and a small purse. The twist lies in the modern touch added to a classic style.
2. **1960s Business Suit**: A navy suit with large gold buttons, paired with white shoes, exudes an elegant and sophisticated vibe.
3. **80s Pop Icon**: Red cardigan and pants create a bold, vibrant statement that's reminiscent of the iconic fashion trends from the 1980s.

## Outfit Ideas

Here are some mix-and-match ideas inspired by these looks:

**1. Modern Retro Chic**
- Fuzzy coat (Look 1)
- Black boots (Look 1)
- A mini skirt or high-waisted jeans (modern twist)
- A pair of ankle boots or loafers (modern footwear)
- A small crossbody bag or clutch (modern accessory)

**2. Elegant 60s Business Attire**
- Navy suit (Look 2)
- White blouse or shirt (modern top)
- Large gold buttons (Look 2)
- Black heels or loafers (modern footwear)
- A statement necklace or pearl earrings (additional accessory)

**3. Vibrant 80s Inspired Look**
- Red cardigan (Look 3)
- Wide-leg pants in a matching color (modern twist)
- White blouse or shirt (modern top)
- Red heels or ankle boots (modern footwear)
- Statement earrings or a bold lipstick (additional accessory)

**4. Fuzzy 60s Glamour**
- Fuzzy coat (Look 1)
- Black knee-high boots (modern twist on Look 1)
- A little black dress (LBD) or high-waisted pants (modern bottom)
- A statement necklace or pearl earrings (additional accessory)
- A small clutch or shoulder bag (modern accessory)

**5. Bold Red Ensemble**
- Red cardigan and matching pants (Look 3)
- White blouse or shirt (modern top)
- Black heels or ankle boots (modern footwear)
- Red lipstick or a bold statement earring (additional accessory)
- A small clutch or shoulder bag in a neutral color (modern accessory)

Key observations from the test:

  • โœ… Successfully identified different fashion eras (1960s, 1980s)
  • โœ… Extracted specific items (fuzzy coat, navy suit, red cardigan)
  • โœ… Generated practical mix-and-match suggestions
  • โœ… Added modern twists to vintage styles
  • โœ… Provided actionable styling advice

๐Ÿ› Known Limitations

  • Requires at least 3 images for analysis
  • Models must be preโ€‘downloaded via Ollama
  • Processing large images may take time
  • PDF export supports only basic formatting

๐Ÿค How to Contribute

  • Add dragโ€‘andโ€‘drop file support
  • Embed image previews in the interface
  • Add Ollama model selection via GUI
  • Implement result caching
  • Add UI themes (light/dark)
  • Support more languages in reports

๐Ÿ“œ License

MIT License. Use, modify, and share freely.


๐Ÿ‘ฉโ€๐Ÿ’ป Author

Kesha
Built with love for fashion and technology.


๐Ÿ’Ž Why Trend Devourer?

"This isn't just an image analyzer โ€” it's your personal stylist in a window, working entirely offline."

  • Privacy โ€” Your photos never leave your computer
  • Flexibility โ€” Use your favorite Ollama models
  • Simplicity โ€” Intuitive interface without complex settings
  • Practicality โ€” Readyโ€‘toโ€‘use outfit combination ideas

โญ If you like the project, don't forget to star it on GitHub! โญ


Trend Devourer โ€” a trendโ€‘devouring AIโ€‘powered style assistant.

Releases

No releases published

Packages

 
 
 

Contributors

Languages