> ## Documentation Index
> Fetch the complete documentation index at: https://jmail.world/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# photo_faces()

> Gesichts-Bounding-Boxes herunterladen, die Fotos Personen zuordnen

```python theme={null}
client.photo_faces() -> pd.DataFrame
```

Lade Bounding Boxes für Gesichter herunter, die erkannte Gesichter in Fotos identifizierten Personen zuordnen.

## Rückgabewert

`pd.DataFrame` mit Daten zur Gesichtserkennung.

## Beispiel

```python theme={null}
from jmail import JmailClient

client = JmailClient()
faces = client.photo_faces()
people = client.people()

# Join durchführen, um Personennamen zu erhalten
import pandas as pd
merged = faces.merge(people[["id", "name"]], left_on="person_id", right_on="id", suffixes=("", "_person"))
print(merged.groupby("name").size().sort_values(ascending=False).head(20))
```

## Spalten

| Spalte | Typ | Beschreibung |
| - | - | - |
| `id` | int | Eindeutige ID für eine Gesichtserkennung |
| `photo_id` | int | FK zur Tabelle photos |
| `person_id` | int | FK zur Tabelle people |
| `bbox_left` | float | Linker Rand der Bounding Box (normalisiert auf 0–1) |
| `bbox_top` | float | Oberer Rand der Bounding Box (normalisiert auf 0–1) |
| `bbox_width` | float | Breite der Bounding Box (normalisiert auf 0–1) |
| `bbox_height` | float | Höhe der Bounding Box (normalisiert auf 0–1) |
| `confidence` | float | Konfidenzwert der Erkennung |

## Direkte URLs

```
https://data.jmail.world/v1/photo_faces.parquet
https://data.jmail.world/v1/photo_faces.ndjson.gz
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.