Skip to main content

pick_best

Function pick_best 

Source
pub fn pick_best(
    conn: &Connection,
    photo_ids: &[i64],
    options: PickOptions,
) -> Result<Vec<i64>>
Expand description

The best few photos of photo_ids for a collage: the strongest photo first (it gets the feature cell), then the rest in the order they were taken. Videos, screenshots, near-duplicates and badly exposed shots are left out, and picks are spread across the set’s time span so a trip isn’t summed up by one afternoon.