How the border queue is counted
Kerbside's border band is an estimate of the queue on the Singapore side of Woodlands and Tuas checkpoints. The Kerbside server works it out from LTA's public traffic camera pictures, and Kerbside shows the result on the Border tab, in Advanced mode, on the heads-up, the drive card and the CarPlay app, and in the border alert. Your iPhone doesn't count anything, and there's no live data from the checkpoint authorities.
Step by step
- Pictures. The server downloads the latest pictures from LTA's checkpoint traffic cameras, published on data.gov.sg. LTA updates them about every 5 minutes. Pictures older than 30 minutes are ignored, and the band disappears until a newer one comes.
- Counting. An object-detection model (YOLOv3) on the server finds cars, buses, lorries and motorcycles in each picture. A vehicle counts for a direction when it's inside that direction's lanes, which were drawn by hand for each camera.
- How full. Each camera has a "full" count: roughly how many vehicles fill its view in a full queue. The count divided by "full" gives how full the view is. The server also measures how much of the lanes' road the vehicles cover, and uses whichever of the two is fuller. The busiest camera for your direction decides the band.
- The band. Under a quarter full: <15 min. Under 70%: ~30 min. Fuller: ~1 h. >1 h once the server has seen it full for 45 minutes or more without a break.
For a camera where the server has enough hand-labelled examples of clear, busy and full pictures, it uses cut points learnt from those examples instead of a quarter and 70%.
Cameras used
| Checkpoint and direction | Camera |
|---|---|
| Woodlands, towards Singapore | Woodlands Causeway |
| Woodlands, towards Johor | Woodlands Checkpoint (BKE side), and the BKE towards the checkpoint |
| Tuas, towards Singapore | Second Link at Tuas |
| Tuas, towards Johor | Tuas Checkpoint (the queue into Singapore customs) |
| Bridge to Malaysia (towards Johor) | Causeway towards Johor; Second Link towards Malaysia |
The Border tab shows the pictures that decided the band, with your direction's lanes outlined and each counted vehicle shaded.
Lorries, buses and night
- Lorries and buses (daytime): lorries and buses have their own lanes. When they're most of the vehicles the deciding camera sees (at least 8, and 40% or more), and cars and motorcycles alone give a shorter band, the band is for cars and motorcycles, with a note on the lorry and bus lanes.
- Night: after dark the model sees less, so the server also counts headlights in the lanes. At night there's no split for lorries and buses.
Limits
- Singapore side only. The band doesn't include immigration and customs inside the building, or anything on the Malaysian side. Towards Johor, Bridge to Malaysia shows the queue on the bridge as Clear, Busy or Queued, not minutes. Towards Singapore, the Malaysian side shows "No public data".
- The count is a minimum. A car hidden behind a lorry can't be seen.
- It's a band, not a prediction. It describes the queue in the latest pictures. The leave-time suggestion on the Border tab is separate: it's based on logged driving times, not on the band.
- Up to 5 minutes behind, plus the time until Kerbside next asks the server (every 2 minutes while it's open).
- No server, no band. Without the Kerbside server, Kerbside shows no band anywhere.
- For your own real door-to-door times, use the crossing timer.
Privacy
The camera pictures are public. Nothing about you is used to work out the band: the server counts the same pictures for everyone, and Kerbside asks it only for the checkpoint and direction you picked.