pub fn detect_events(
conn: &Connection,
trip_photo_ids: &HashSet<i64>,
) -> Vec<DetectedSuggestion>Expand description
Detect event suggestions via a 4-hour sliding window. An event is a burst of >= 8 photos separated by <= 4 hours from their neighbours, with a signal check (faces or single-location).