Víctor Sáez
Adding error catching
b8c9c36
---
title: Enhanced Object Detection App (DETR, Face & Object Detection, Multilingual)
emoji: 👁️
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: "5.38.0"
app_file: app.py
pinned: false
---
# 🚀 Enhanced Object Detection App — DETR, Face & Object Detection, Multilingual
**Real-time object detection, face detection and multilingual labeling with DETR models, powered by Gradio and Hugging Face Spaces.**
Detect people, faces, animals, and everyday objects in your images using the latest DETR-based models. Choose your language and model for fully customizable AI vision.
---
## 🌍 Features — Object Detection, Face Detection, DETR, Multilingual
- **Multilingual interface:** English, Spanish, French (automatic label translation)
- **Multiple DETR models:** General objects, small objects, faces
- **Dynamic label translation:** See object names in your chosen language
- **Adjustable detection threshold:** Control model sensitivity for better results
- **Powered by COCO dataset:** Detect 80+ everyday object categories (see [COCO classes](https://cocodataset.org/#explore))
- **Runs in your browser with [Gradio](https://gradio.app/) and [Hugging Face Spaces](https://huggingface.co/spaces)**
---
## 🖼️ How to use
1. **Upload an image** (drag & drop or click)
2. **Choose your preferred language**
3. **Select a detection model**
- _General Objects (fast)_: Everyday items, people, animals (DETR ResNet-50)
- _General Objects (high precision)_: Higher accuracy (DETR ResNet-101)
- _Small Objects/Details (slow)_: Best for tiny objects (DETR DC5)
- _Face Detection (people only)_: Detects faces only (fine-tuned DETR)
4. **Adjust the detection threshold** if needed
5. Click **Detect Objects** to see the results!
---
## 💡 Models available
| Model | Description |
|-------------------------------------------|-----------------------------------------------------|
| General Objects (fast) | Fast detection of 80+ objects (DETR ResNet-50, COCO)|
| General Objects (high precision) | More precise for challenging scenes (ResNet-101) |
| Small Objects/Details (slow) | Better for tiny/detailed objects (DETR DC5) |
| Face Detection (people only) | Only detects faces (fine-tuned DETR) |
---
## 📦 About this app
Built with:
- 🤗 [Gradio](https://gradio.app/)
- 🤗 [Transformers](https://huggingface.co/transformers/)
- [DETR](https://huggingface.co/facebook/detr-resnet-50) family of models
- [COCO dataset](https://cocodataset.org/#explore)
Explore more at [Hugging Face Spaces](https://huggingface.co/spaces).
---
## ❤️ Like this Space?
If you found this app useful, **please give it a 🌟 like** (top right)!
Your feedback and support help it grow.
---
_Developed by [vsaez](https://huggingface.co/vsaez). Powered by open-source AI._