An open API service indexing awesome lists of open source software.

https://github.com/machinelearningprodigy/objectdetection

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!
https://github.com/machinelearningprodigy/objectdetection

ai genai huggingface image-processing jupyter-notebook models python3

Last synced: 11 months ago
JSON representation

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!

Awesome Lists containing this project

README

          

# ๐Ÿš€ 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:
```bash
https://github.com/machinelearningprodigy/objectDetection

```
```bash
cd objectDetection
```

2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Download the Stable Diffusion model weights:
```bash
mkdir stable_diffusion_weights
```
Place your model weights inside the `stable_diffusion_weights` folder.

4. Run the app:
```bash
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!** ๐Ÿš€