Inside Traffic Monitor's Speeding, Wrong-Way And No-Stopping Alerts

A city street intersection with cars and a delivery van stopped at a crosswalk while a security guard watches from a gated entrance booth.

Written by ARSA Writer Team

INSIDE TRAFFIC MONITOR

Traffic Monitor raises three alerts that a road operator acts on within minutes: a vehicle faster than its lane's limit, a vehicle driving against its lane's direction, and a vehicle that stays too long in a no-stopping zone. Each alert comes from a few lines and zones drawn on the camera picture, and from tracking each vehicle across frames. This article covers how each decision is made, what an operator sees, what the camera needs, and where the alerts stop being reliable.

SEE IT WORKING

What A Speeding And Wrong-Way Vehicle Detection Camera Sees

The camera sees a box on every vehicle it finds. Each box carries the vehicle's class and colour, and the same box follows the vehicle from frame to frame. Every alert depends on that tracking. One frame gives a position and no speed or direction. A track gives both.

ARSA demo footage from an overhead view of a multi-lane highway, with each vehicle tracked and labelled by class and colour.

In the clip, each vehicle keeps its label as it moves across the frame. That continuity is what the alert rules read. The footage was taken from overhead. A roadside install usually looks along the road from a pole, at a shallower angle, and the same tracking runs there.

Demo data. The Traffic Monitor alerts inbox with speeding, congestion, watchlist, stopped vehicle and wrong-way alerts.
Demo data. The Traffic Monitor alerts inbox with speeding, congestion, watchlist, stopped vehicle and wrong-way alerts.

Every alert lands in one inbox, shown above with demo data. Speeding, wrong-way, stopped vehicle, congestion and watchlist alerts appear together, each with its camera, start time and severity.

HOW SPEED IS ESTIMATED

Speed Comes From Two Lines A Known Distance Apart

Traffic Monitor estimates a vehicle's speed from the time it takes to travel between two speed lines drawn across the lane, whose distance apart on the road is measured and entered at setup. Speed is that distance divided by the time between the two crossings. The result is compared with the speed limit set for the lane, and a vehicle over the limit raises a speeding alert.

Demo data. The setup step where a pair of speed lines is drawn across a lane and the distance between them is entered.
Demo data. The setup step where a pair of speed lines is drawn across a lane and the distance between them is entered.

The setup screen, shown above with demo data, places the lane, the count line and the pair of speed lines on the road picture, with a field for the distance between the lines. That distance is the input that matters most. The software has no way to check it, so a tape-measured or surveyed figure gives a trustworthy estimate and a figure paced out by eye does not.

Frame rate sets the second limit. The camera reports a vehicle's position once per frame, so each crossing is timed to within one frame interval. At 15 fps, the minimum in ARSA's camera standard, that is about 67 ms. At the recommended 25 fps it is 40 ms. A worked example shows what that means. With speed lines 15 m apart, a vehicle at 54 km/h takes one second to cross between them. A timing error of up to one frame then means an error of up to about 6.7% at 15 fps, roughly 3.6 km/h, and about 4% at 25 fps. Lines drawn further apart reduce the error in proportion, as long as both stay inside the distance where the camera can still count a vehicle. An error of half a metre in the entered distance adds about 3% to a 15 m pair on its own.

For these reasons ARSA describes the speed as an advisory estimate for traffic management that cannot serve as ticket evidence. That limit also follows the law in most markets. In the UK, a speed reading used for prosecution must come from a device of a type approved by the Home Office under section 20 of the Road Traffic Offenders Act 1988, and US states and Australian jurisdictions apply their own certification and calibration rules to enforcement devices. An advisory estimate suits other uses: finding which hours and lanes run fast, feeding the 85th percentile speed into corridor analytics, and flagging individual events for an operator to review on the recording.

HOW WRONG-WAY IS DECIDED

A Lane's Arrow Defines The Right Direction

A wrong-way alert is raised when a tracked vehicle moves against the direction drawn for its lane. During setup, every lane is drawn as a shape with an arrow for its direction of travel, and the count line records each crossing as in or out. A vehicle whose track runs against the arrow is flagged.

Demo data. A lane is drawn with its direction and speed limit, then a count line, in Traffic Monitor's camera setup.

The clip, made with demo data, shows a lane drawn with its direction and speed limit, then a count line, while the setup checklist ticks off each step. The drawing is the rule. A lane drawn with the wrong arrow flags every compliant vehicle, so the review step at the end of setup is worth reading carefully.

A few situations need thought when drawing lanes. On a contraflow lane during roadworks, the arrow no longer matches the traffic, and the camera's lanes should be redrawn for the duration. A shared turning area where vehicles legally move in both directions should not be drawn as a one-way lane. A vehicle reversing a short distance out of a junction box is moving against the arrow too, so expect alerts from it if the lane extends into the box.

HOW NO-STOPPING IS DECIDED

A Zone And A Time Limit Define A Stopped Vehicle

A no-stopping alert is raised when a vehicle stands inside a drawn no-stopping zone for longer than the time allowed. The zone is a shape on the road picture, such as a bus bay, a hard shoulder or a junction exit, and the time limit is set in the product's settings.

Demo data. A no-stopping zone named Bus bay drawn on the road picture in Traffic Monitor's zone editor.
Demo data. A no-stopping zone named Bus bay drawn on the road picture in Traffic Monitor's zone editor.

The setup screen above, made with demo data, shows a zone named Bus bay drawn on the picture. A separate congestion alert covers a lane that stays full and slow for a while, so a slow lane and a single stopped vehicle produce different alerts.

The time limit is the main tuning decision. If it is too short, a vehicle pausing to let a pedestrian cross raises an alert. If it is too long, a broken-down vehicle sits in a live lane before anyone is told. A zone drawn where queues routinely back up, such as the approach to a signal, will see vehicles stand in it during every red phase. Such a zone should be drawn past the queue's usual reach or left out.

WHAT THE OPERATOR DOES

From Alert To Action

An alert goes to the dashboard inbox, to the alert contacts and, if configured, to a siren or relay, and the operator closes it with a note. The three parts below are what happens after the box decides.

Delivery

Alerts go out by e-mail, WhatsApp, Telegram and webhook. Webhook event types include traffic.speeding and traffic.congestion. Flow, speed and incidents, including wrong-way and stopped vehicles, also reach a traffic management centre through a DATEX II v3 feed. A message that cannot be delivered is retried for 24 hours, and the Deliveries page shows each one and the reason it failed.

Grouping And Severity

Repeats of the same alert on the same camera are counted on one alert, so a vehicle stopped in a bus bay for ten minutes appears as one alert in the inbox. Each alert carries a severity of Information, Warning or Critical. An alert can also switch on a siren, a light or a relay, for a set number of seconds or until it is acknowledged.

Acknowledgement

The operator acknowledges an alert with a short note of what was done, which is kept in the audit log with their name. A new event on the same camera raises a new alert. Each alerted vehicle can be checked against the vehicle log, which keeps a photo of each vehicle at the count line with its class, colour, speed, lane and direction, and against the recording, kept on site for 3 days by default and configurable from 1 to 90.

Demo data. The vehicle log, with a blurred photo of each vehicle at the count line and its class, colour, speed, lane and direction.
Demo data. The vehicle log, with a blurred photo of each vehicle at the count line and its class, colour, speed, lane and direction.

Under UK GDPR, the UAE's PDPL and Singapore's PDPA, photos of vehicles, and plates where they are read, can be personal data. Through the API, plates and photos are returned only to an account given the personal_data scope, which only the box's owner can grant. Plate reading itself is an optional add-on with a watchlist and runs at one third of the unit's camera capacity.

A seven step sequence showing how Traffic Monitor detects and tracks a vehicle, tests it against the drawn lanes and zones, raises an alert, delivers it and records the operator's acknowledgement.
Read As Text
  1. Detect Each frame is searched for cars, trucks, buses, motorcycles and bicycles.
  2. Track Each vehicle is followed across frames so it has a path and a direction.
  3. Place The path is matched to the lanes, lines and zones drawn at setup.
  4. Test The Rule Speed against the lane limit, direction against the lane arrow, standing time against the zone limit.
  5. Raise The Alert The alert opens in the inbox with its camera, time and severity, and repeats are grouped.
  6. Deliver It goes out by e-mail, WhatsApp, Telegram, webhook, DATEX II, or to a siren or relay.
  7. Acknowledge The operator closes it with a note, kept in the audit log.

WHAT THE SITE NEEDS

Camera Requirements For Reliable Alerts

The alerts need the camera to count vehicles reliably, which under ARSA's camera standard ARSA-CVS-001 means 67 pixels per metre at the vehicle, a tilt of 15 to 35 degrees below horizontal and at least 10 lux at the target. Classification needs more: 107 pixels per metre and 20 lux. The full figures are on the camera and site requirements page, and the lens field of view visualiser shows how far a given lens reaches.

Requirement Figure Why It Matters For These Alerts
Pixel density for counting 67 PPM, up to 24.9 m on a 2 MP camera with a 60 degree lens Both speed lines and every no-stopping zone must sit inside this reach
Pixel density for classification 107 PPM, up to 15.6 m on 2 MP Class on the alert is reliable only inside this reach
Tilt below horizontal Optimal 15 to 35 degrees, maximum 45 for counting A steep view shortens the stretch of road where tracks stay stable
Light at the target 10 lux for counting, 20 lux for classification Below this, tracks break and speeds and directions with them
Frame rate 15 fps minimum, 25 fps recommended Sets how precisely each speed line crossing is timed
Wide dynamic range 120 dB recommended Headlight glare at night washes out vehicles near the lens
Shutter Minimum shutter set by hand Automatic exposure lengthens at night and smears moving vehicles
Time sync NTP, under one second drift Alert times must match the recording and other cameras
Cabinet IP66, IK08 recommended, temperature controlled The AI Box needs a cooled cabinet or enclosure at the roadside

Two camera settings matter specifically for speed. Smart codecs such as H.264+ and H.265+ should be off on the analytics stream, because they compress the background where distant vehicles are small. Constant bit rate should be used, because a variable bit rate starves the encoder when traffic is heaviest. If a lane is beyond 24.9 m from a 2 MP camera, a 4 MP camera reaches 33.3 m for counting, or a narrower lens extends the reach while covering fewer lanes. For one way to set this up on cameras a site already runs, see this guide to traffic analytics on existing CCTV cameras.

ARSA delivers Traffic Monitor outside Indonesia. Where visa conditions prevent ARSA engineers from travelling, a qualified local partner installs it under ARSA supervision.

LIMITS

Where The Alerts Are Less Reliable

The alerts are only as reliable as the tracking underneath them. ARSA publishes an accuracy figure for vehicle detection in single frames, and no figure for speed estimates or for any alert. The published figure is 0.887 AP50 and 0.799 at IoU 0.7 on the UA-DETRAC traffic camera test set, out of the box. At the shipped confidence of 0.5 it measured 95.9% precision and 66.8% recall. That recall counts every vehicle in every frame, including small, distant and partly hidden ones, so a detection missed in one frame is not necessarily missed in the track. But it is a reminder that at the edges of the frame and behind larger vehicles, some vehicles are not seen.

There are several practical consequences. A truck in the near lane can hide a car in the far lane during both speed line crossings, and that car then gets no speed. Rain, spray and very low light degrade classification before they degrade counting, so an alert may name the class wrongly on a night when the alert itself is sound. Under infrared, the picture is monochrome and the vehicle's colour is lost. A vehicle that changes lanes between the speed lines is timed on the lane where it crossed, and a vehicle straddling two lanes may be assigned to either.

What the operator still has to do: check the speed line distance after any change to the camera, redraw lanes when the road layout changes, review a sample of alerts against the recording during the first weeks, and treat each speed as an estimate. Any accuracy commitment for a given site applies only to the zones accepted after its own footage has been checked.

FAQ

Questions About Traffic Monitor's Road Alerts

Can Traffic Monitor's Speed Estimates Be Used To Issue Fines?

No. The speed is an advisory estimate for traffic management and cannot serve as ticket evidence. Prosecution in the UK, US states and Australia generally requires a type-approved or certified and calibrated enforcement device, and a speed taken between two lines drawn on a general-purpose camera picture does not meet that standard.

How Does A Camera Know A Vehicle Is Driving The Wrong Way?

It compares the vehicle's track with the direction arrow drawn for its lane. Each lane is drawn with its direction of travel at setup, the vehicle is followed across frames, and a track that runs against the arrow raises a wrong-way alert, which also goes out on the DATEX II feed and the webhooks.

What Frame Rate Does Speed Estimation Need?

At least 15 fps, and 25 fps is better. Each line crossing is timed to within one frame, about 67 ms at 15 fps and 40 ms at 25 fps, so a higher frame rate and speed lines placed further apart both reduce the error in the estimate.

Why Do No-Stopping Alerts Fire During Normal Queues?

Because the zone was drawn where vehicles routinely stand. A no-stopping zone raises an alert when a vehicle stays in it longer than the time allowed, so a zone on a signal approach will see vehicles waiting every red phase. Move the zone past the usual queue or lengthen the time limit.

Do Alerts Work Without An Internet Connection?

Yes. Detection, alerts on site, recording and the dashboard all run on the AI Box without an internet connection. E-mail, WhatsApp and Telegram delivery need a route out, and undelivered messages are retried for 24 hours.

Does Traffic Monitor Read Number Plates On Speeding Vehicles?

Only with the plate reading add-on. Plate reading needs 325 pixels per metre at the plate, up to 5.1 m on a 2 MP camera, runs at one third of the unit's camera capacity, and has no published accuracy figure. Without it, each alert carries the vehicle's photo, class, colour, lane and estimated speed.

For further reading on how these alerts fit into counting and classification on a working road, see the vehicle counting camera system page. If you would like to see the alerts on your own roads, send a few clips from your cameras for a free AI assessment by an ARSA engineer.

Read More Stories