Skip to content

Advance ML pipeline automating creative validation, correction, and rendering for retail marketing campaigns ๐Ÿš€ Includes OCR, packshot extraction, YOLOv8 detection, contrast checks, safe-zone rules, and an intelligent auto-fix engine. Outputs high-quality, compliant designs across multiple formats through a FastAPI-powered backend.

License

Notifications You must be signed in to change notification settings

UjjwalSaini07/Adora-ML-CoreModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Adora-ML-CoreModel

Adora ML Core Model is a lightweight yet powerful AI engine designed for automated creative validation, layout correction, and final ad rendering. Built for hackathons and real-world marketing automation, it integrates OCR, object detection, banned-phrase compliance, safe-zone checking, and auto-layout optimization into one unified pipeline โšก. The system intelligently analyzes product packshots, detects design issues, and applies auto-fixes to produce compliant, visually appealing creativesโ€”ready for campaigns or downstream workflows. With a clean FastAPI backend and a modern Streamlit UI ๐ŸŽจ, this project offers an efficient end-to-end solution for automated creative intelligence, ensuring accuracy, speed, and usability for both developers and non-technical users ๐Ÿš€.

โญ Key Features

  • ๐Ÿ” Smart Creative Validation โ€” OCR, YOLO detections, banned-phrase scanning, and brand-compliance logic
  • ๐ŸŽจ AI Auto-Fix Engine โ€” Adjusts font size, color, contrast, and safe-zone placement automatically
  • ๐Ÿง  Background Removal โ€” Clean, transparent product cutouts using robust segmentation
  • โšก FastAPI Backend โ€” High-performance API endpoints for validate, autofix, render & health check
  • ๐Ÿ–ผ Render Engine โ€” Composes final creatives with text, product packshots, and backgrounds
  • ๐Ÿ›  Modern Streamlit Frontend โ€” User-friendly UI for testing, previewing, and interacting with the system
  • ๐Ÿš€ Modular Architecture โ€” Easy to extend, plug-and-play components for hackathons or production use

Commands

Backend Fast API Commands:

  python -m venv .venv
  .\.venv\Scripts\Activate.ps1
  pip install -r requirements.txt
  uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

Frontend Streamlit Commands:

  streamlit run streamlit_app.py

Tesseract Installation Commands:

  winget install -e --id UB-Mannheim.TesseractOCR
  Get-ChildItem "C:\Program Files" -Recurse -Filter tesseract.exe -ErrorAction SilentlyContinue
  tesseract --version

About

Advance ML pipeline automating creative validation, correction, and rendering for retail marketing campaigns ๐Ÿš€ Includes OCR, packshot extraction, YOLOv8 detection, contrast checks, safe-zone rules, and an intelligent auto-fix engine. Outputs high-quality, compliant designs across multiple formats through a FastAPI-powered backend.

Topics

Resources

License

Stars

Watchers

Forks