Bywater Train Horn Detector

Automatic detection of train horn sounds in the Bywater / Marigny neighborhood.
Tracks the honks over time for the train near St. Claude Ave. & Press St.
Read more below about the technology used.
Follow @BywaterTrain on Twitter for real time alerts.

Train Camera
  • Train Status

UNKNOWN - Detector Offline

Updated 66834071 seconds ago
Honks in the Last hour
Honks in the past day

Honks Today

0 honks

Honks This Week

0 honks

Total Honks

202071 honks

Honks By Hour Past 90 days

Honk chart
Recent Honks
All Honks

About / FAQ

• Why would you make this?

I live near train, train honks a lot.

• What counts as a honk?

Audio is continuously classified as honk or not honk, but detections are limited to once every 4 seconds. So if a single honk lasts 20 seconds, it would be considered 5 honks.

• How does it work?

A neural network was trained on train horn sounds, and non-train horn sounds. A microphone outside listens continuously and classifies what it hears. I used a pre-trained model called yamnet, adding a few extra layers on top and freezing the weights of the lower layers. You can download the detection code on github or read a blog post about it here

• Can you detect where the train is?

At the moment, no, since I don't have a direct view of the tracks. If I could put a camera facing the tracks I could add that feature.

• Can I get real-time alerts to my phone?

For now you can follow @BywaterTrain on twitter, then turn on push notifications for that account. It's super annoying though.

• Can I download historical data?

Not at the moment, possibly soon. Let me know if the data is interesting to you.

• Where is the microphone?

The mic works best when the train is crossing St. Claude at Press St. It might not detect the horn when the train is further down near the river.