Schnittstellen-Spezifikation für die Anbindung an das MAM-System (Bilder & Videos).
Lädt eine Bild- oder Videodatei hoch./php/api.php?action=upload
curl -F "file=@video.mp4" http://192.168.178.55:8880/php/api.php?action=upload
Startet die KI-Pipeline für einen Dateipfad. Videos werden asynchron im Hintergrund verarbeitet./php/api.php?action=process&path=/pfad/zur/datei
curl "http://192.168.178.55:8880/php/api.php?action=process&path=/var/www/uploads/video.mp4"
Gibt eine Liste aller verarbeiteten Medien zurück (ID, Pfad, Dateiname)./php/api.php?action=get_media
curl "http://192.168.178.55:8880/php/api.php?action=get_media"
Gibt alle gefundenen Gesichter inklusive Timecode (Sekunden) für eine spezifische Medien-ID zurück./php/api.php?action=get_faces&media_id=X
curl "http://192.168.178.55:8880/php/api.php?action=get_faces&media_id=123"
Modell-Modus, Thresholds und Filter-Limits global anpassen./php/api.php?action=set_config
buffalo_l)0.0 - 1.0)curl -X POST -d "model_name=buffalo_l&detection_threshold=0.7&max_faces=10" http://192.168.178.55:8880/php/api.php?action=set_config