Crowd Factor

As a surfer you are constantly trying to assess the best time to surf. This not only involves looking at the forecast and conditions but also gauging when it's going to be most crowded. Sometimes you'll get more waves if you surf when the conditions are a little worse but the spot is less crowded - an exercise in game theory.

In order to make the best decision on when to surf you need forecast data on both the waves conditions and the crowd. The former is easy to get from surfline but there is no data on surf crowds... YET!

The idea is that Crowdfactor provides an interface similar to google maps "popular times", giving a more quantitative approach on deciding when to surf.

Google popular times

How it works

Every 10 mins, Crowdfactor will stream a minute of footage from a configured surfline camera. It then feeds that footage into a computer vision model to count the number of surfers in the water. The surfer count is then saved to a database along with the surf rating at the time of recording.

Vision model counting surfers

With this database you can then make predictions based on the day of the week, time and surf rating. For instance if it's a Wednesday 11am and the conditions are poor, you can take an average of the previous crowd recordings on Wednesday at 11am when conditions have been poor to make a prediction.

These predictions are visualised along side the real recordings and the forecasted surf ratings for the day on a dashboard.

Dashboard

Next steps

I chose venice-breakwater as an experiment because the camera stream is clear. Next I plan to set it up for a few of my local spots and then make it viewable on an e-ink display that I can mount on my wall.

You can follow the project on github.