Last
Sunset Prediction
Friday
September 29
59% Confident
Apr '22Apr
May '22
Jun '22Jun
Sun
Mon
Tue
Wed
Thu
Fri
Sat
May '22May
Jun '22
Jul '22Jul
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Jun '22Jun
Jul '22
Aug '22Aug
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Jul '22Jul
Aug '22
Sep '22Sep
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Aug '22Aug
Sep '22
Oct '22Oct
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Sep '22Sep
Oct '22
Nov '22Nov
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Oct '22Oct
Nov '22
Dec '22Dec
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Nov '22Nov
Dec '22
Jan '23Jan
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Dec '22Dec
Jan '23
Feb '23Feb
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Jan '23Jan
Feb '23
Mar '23Mar
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Feb '23Feb
Mar '23
Apr '23Apr
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Mar '23Mar
Apr '23
May '23May
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Apr '23Apr
May '23
Jun '23Jun
Sun
Mon
Tue
Wed
Thu
Fri
Sat
May '23May
Jun '23
Jul '23Jul
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Jun '23Jun
Jul '23
Aug '23Aug
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Jul '23Jul
Aug '23
Sep '23Sep
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Aug '23Aug
Sep '23
Oct '23Oct
Sun
Mon
Tue
Wed
Thu
Fri
Sat

Collecting images

A camera is positioned so that it's pointing west at the Manhattan skyline. Snapshots are taken every minute and saved to a hard drive.

The images are compiled into composite grid images of what the sky looks like throughout the day, with one snapshot for every 15 minutes from four hours before to one hour before sunset.

Building training data

Friends and family are invited to rate sunsets from one to five stars, representing their opinion of the visual quality and beauty of each sunset.

They can view the sunset either as an animated loop or grid of snapshots of before and after sunset time.

Training the model

The croudsourced sunset ratings are averaged out and matched to that day's composite image.

These composite images labeled with a rating are then used to train an image classification model, using TensorFlow and transfer learning to re-train a MobileNet base model.

Making predictions

Every day, the trained model looks at the composite image of the sky for that day and makes a prediction one hour before sunset.

It posts an image with the date, star rating, and confidence level to the @nycsunsetbot Instagram page.

Follow @nycsunsetbot for daily sunset predictions and timelapses

Made in New York City by Leo Mancini