Timcam Line Viewer

How many people are in line at Tims right now?

Live estimate of the Tim Hortons line at UBC Okanagan.

See the operating hours on Google Maps

People in Line

Estimated number of people in the line from the latest event.

Smoothed Estimate

Stabilized estimate of people in line using a smoothing algorithm.

Staleness

How long ago the latest data was processed. (up to 15s is normal)

Show Recent Max Counts

These max values may be more accurate at reflecting how long the line actually is, since the raw count can fluctuate a lot. It also may just show you an overestimate, I've added it for fun.

Max Count (Last 20 Updates)

Highest raw count across the last 0 events.

Max Smoothed (Last 20 Updates)

Highest smoothed estimate across the last 0 events.

20

Controls how many recent events are used for the max values.

Feedback

This helps tune the estimate. Opening freezes the count so you can report without it changing. Close to resume live updates.

Accuracy feedback only please! Email me for anything else: onyx@cheyne.dev

About this

This page uses a person detection system built on the public timcam feed to estimate the line size in real time. The feed is low resolution and blurry, so accuracy isn't perfect. Also, when the count reaches 10+, people at the back of the line or extending into the courtyard may be missed.

Want to know how it works? Check out my detailed post about the project.

API & resources

The Timcam API I created to power this page is publicly available at timcam-api.cheyne.dev and is for educational, non-commercial use. The source video feed is also available on UBC Okanagan's student resources page.

For integration, check out the API documentation, the live SSE stream, or the JSON snapshot endpoint.

Thanks to UBCO Engagement Services and UBC IT Okanagan for creating and supporting the timcam feed.

Questions or feedback? Email me at onyx@cheyne.dev.