Skip to content

This AI-powered app combines Stable Diffusion for image generation and DETR for object detection, all within an interactive Streamlit interface. ๐ŸŽจ๐Ÿ” Users can generate stunning AI images from text prompts and detect objects in uploaded images with high accuracy. ๐Ÿš€ Simple, fast, and efficientโ€”bringing AI creativity to your fingertips!

Notifications You must be signed in to change notification settings

machinelearningprodigy/objectDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ AI Image Generation & Object Detection App

Welcome to the AI Image Generation & Object Detection App! This project utilizes Stable Diffusion for text-to-image generation and DETR (DEtection TRansformer) for object detection in images. ๐ŸŽจ๐Ÿ”


โœจ Features

โœ… Generate Images from text prompts using Stable Diffusion ๐Ÿ–ผ๏ธ
โœ… Detect Objects in uploaded images with DETR ๐Ÿค–
โœ… Download Generated Images with a single click โฌ‡๏ธ
โœ… Streamlit Web Interface for an easy-to-use experience ๐Ÿ†


๐Ÿ“ฆ Installation

  1. Clone this repository:

    https://github.com/machinelearningprodigy/objectDetection
    
    cd objectDetection
  2. Install dependencies:

    pip install -r requirements.txt
  3. Download the Stable Diffusion model weights:

    mkdir stable_diffusion_weights

    Place your model weights inside the stable_diffusion_weights folder.

  4. Run the app:

    streamlit run app.py

๐ŸŽจ Image Generation

1๏ธโƒฃ Enter a text prompt (e.g., "A futuristic city at sunset")
2๏ธโƒฃ Click Generate Image
3๏ธโƒฃ View and download your AI-generated masterpiece! ๐ŸŒŸ


๐Ÿ” Object Detection

1๏ธโƒฃ Upload an image
2๏ธโƒฃ The model will detect objects and display bounding boxes ๐Ÿ–ผ๏ธ
3๏ธโƒฃ View detected objects with labels and confidence scores ๐Ÿ“Š


๐Ÿ› ๏ธ Technologies Used

  • ๐Ÿค– Stable Diffusion (RunwayML Stable Diffusion v1-5)
  • ๐Ÿ” DETR (DEtection TRansformer)
  • ๐Ÿš€ Streamlit (Interactive UI)
  • ๐Ÿž๏ธ PIL (Pillow) (Image Processing)
  • ๐Ÿ”ฅ PyTorch (Deep Learning Framework)

๐ŸŒŸ Demo


Watch the AI generate images in real-time! ๐ŸŽจ


๐Ÿ“œ License

This project is licensed under the MIT License. Feel free to use and modify it! ๐Ÿ’ก

๐Ÿ’™ Enjoy AI Creativity! ๐Ÿš€

About

This AI-powered app combines Stable Diffusion for image generation and DETR for object detection, all within an interactive Streamlit interface. ๐ŸŽจ๐Ÿ” Users can generate stunning AI images from text prompts and detect objects in uploaded images with high accuracy. ๐Ÿš€ Simple, fast, and efficientโ€”bringing AI creativity to your fingertips!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published