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!
- Host: GitHub
- URL: https://github.com/machinelearningprodigy/objectdetection
- Owner: machinelearningprodigy
- Created: 2024-08-24T10:17:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T16:33:41.000Z (12 months ago)
- Last Synced: 2025-02-13T17:34:13.274Z (12 months ago)
- Topics: ai, genai, huggingface, image-processing, jupyter-notebook, models, python3
- Language: Jupyter Notebook
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!** ๐