File size: 2,970 Bytes
56ae2aa
356c106
56ae2aa
 
 
 
b8c9c36
56ae2aa
 
 
 
356c106
6e99e01
356c106
 
 
6e99e01
 
 
356c106
6e99e01
356c106
 
 
 
 
 
6e99e01
f50c0a6
6e99e01
 
 
 
 
 
356c106
 
 
 
6e99e01
356c106
6e99e01
 
 
 
 
356c106
 
 
 
 
 
6e99e01
 
 
356c106
 
 
 
 
 
 
6e99e01
356c106
6e99e01
 
 
 
 
 
 
 
f50c0a6
 
6e99e01
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
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._