A traffic counter can return the right total for the wrong reasons. Here’s how to compare manual surveys, road tubes, loops and computer vision, then test the method against the decision you need to make.

Say you're evaluating a school-street trial in Berlin. A delivery van creeps past the gate, two bicycles squeeze beside it, and a parent stops briefly before turning around. Vehicle counting sounds like a straightforward tally until you ask what counts as one passage, which modes belong in the total, and whether your counter can see them. The useful method is the one that answers your planning question with an error you understand.
At move lab, a Berlin urban-mobility lab building prototypes, open-source tools and data visualisations, we explored this question through OpenDataCam, our open-source traffic counter. It uses computer vision to detect and count traffic participants. That makes counting accessible as an experiment; it doesn't remove the need to check what the experiment measures.
What should your vehicle counting actually measure?
A street redesign can fail its evaluation before any sensor switches on. One team wants motor-vehicle passages at a gate; another wants turning movements; a third wants the balance between bicycles and cars. A single combined total won't answer all those questions.
Your measurement definition works best as a short sentence: the objects included, the boundary they cross, the direction and the reporting interval. For the hypothetical school street, that might mean motor vehicles entering the restricted section during the morning closure, with bicycles reported separately. A vehicle passing again is another passage, unless the study explicitly measures unique vehicles.
Four outputs deserve separate attention. Volume means passages over time. Classification assigns each passage to a vehicle type. Turning counts describe movements through a junction. Occupancy describes the proportion of time a detector zone is occupied; it isn't the number of people inside vehicles.
These distinctions change the equipment choice. A road tube senses wheels crossing its position. A camera can observe a wider scene. Neither automatically tells you how many people benefited from a redesign.
Our What the Street!? mobility-space report examined how space is allocated between mobility uses. That offers a useful companion question: how much street space supports the movements you're counting? A flow count alone can't tell you whether that allocation is fair.
Manual counts: strongest when context matters
At a small junction, a rider pushing a bicycle across the crossing can leave an automated classification ambiguous. A person can apply the study's agreed rule. But a busy intersection asks that same observer to watch several movements while recording timestamps, which creates opportunities to miss events.
Manual observation suits short turning surveys, unusual categories and checks on automated equipment. Recorded video offers pause and replay, provided recording is permitted. It also separates field collection from counting work. You don't need to resolve a confusing movement while the next bus is already arriving.
Accuracy still depends on the task. Majumder and Wilmot (2023), researchers at Louisiana State University, reported average total-count error of 1.05% when comparing first and repeated manual video counts. Their wider survey covered 40 strip-mall access points in Baton Rouge, with repeated counts at five randomly selected sites. The result measures agreement between counts, not independent proof that both captured every vehicle. It isn't a universal accuracy rate for human observers.
A useful setup gives each observer a manageable set of movements, uses an agreed category guide and includes breaks. For reference counts, independent recounts of selected intervals can expose disagreement; the team can then review the disputed events together. Two people repeating the same unclear rule won't fix it.
Manual work is often the right starting point for a pilot because it reveals exceptions before software rules harden. Its recurring labour cost makes it less attractive for continuous monitoring. You're buying human judgement as well as a tally.
Pneumatic tubes: practical for temporary road surveys
A quiet two-lane road may need a temporary volume survey, with no camera permission or permanent power supply. Tubes suit that situation. A congested bus approach presents a different problem: axle sequences overlap with queues, and the count can become harder to interpret.
A tyre compresses the rubber tube and sends an air-pressure pulse to a counter. Depending on the layout and recorder, paired sensors can support direction, speed and classification based on axle spacing. A raw axle total isn't automatically a vehicle total. Dividing by two assumes every vehicle has two axles, which doesn't hold for a mixed stream with larger trucks.
FHWA's vehicle-detection technology summary (2007) describes road tubes as commonly used for “short-term traffic counting” and axle-based classification. It identifies inaccurate axle counting at high truck and bus volumes, temperature sensitivity of the air switch, and tube damage as disadvantages.
For your survey, the layout matters as much as the box beside the road. Sensor spacing, lane coverage and the recorder's matching configuration need checking against actual passages. An installation that works on one lane may not separate movements on a wider carriageway.
Tubes are a reasonable choice for temporary motor-traffic surveys on suitable roads because they're portable and need little power. They don't depend on a clear camera image. But safe installation still requires permission and an appropriate traffic-management arrangement. A low equipment price doesn't justify sending someone into an unsafe lane.
For cycle traffic, a dedicated configuration needs its own validation. A general motor-vehicle classifier shouldn't be assumed to capture light wheels or groups of riders correctly.
Inductive loops: useful for a fixed, repeated question
An existing signal-controlled corridor may need traffic volumes every day, including dark winter evenings. A temporary counter creates repeated setup work. A working loop installation can offer continuity, although a detector built to call a traffic signal isn't necessarily configured to deliver the count your evaluation needs.
An inductive loop is wire installed in the pavement and connected to detector electronics. A vehicle's conductive material changes the loop's inductance, allowing the system to detect passage or presence. A two-loop arrangement can support speed measurement. Occupancy is another common output.
The FHWA Traffic Detector Handbook (2006) explains how loop geometry, sensitivity and installation affect performance. Those details matter for smaller vehicles and high-clearance trucks. Presence detection doesn't guarantee correct classification, and a sensitivity setting suitable for one traffic mix may create problems in another.
For a permanent lane-level motor-traffic series, maintained loops can be a sensible choice because detection doesn't depend on visible light. Existing infrastructure may also avoid a fresh installation. But pavement cuts, repair access and future resurfacing belong in the cost assessment.
Your acceptance check can compare the exported event count with observed crossings, rather than relying on the signal controller's presence indicator. The record also needs detector-health information. A damaged loop returning no events shouldn't appear as a wonderfully successful reduction in traffic.
Loops can detect bicycles with suitable geometry and settings. That capability needs verification at your site, including riders' positions within the lane; it shouldn't be inferred from a motor-vehicle count channel.
Computer vision: a wider view with visible blind spots
A delivery van can hide a cyclist from a camera. Evening glare can wash out the same crossing that looked clear at lunchtime. A camera offers more context than a single road sensor, but it can only analyse the evidence available in its frames.
Computer-vision counting usually involves detection, tracking and a counting rule. Detection finds an object in a frame. Tracking links appearances over time so one car doesn't become a new vehicle in every image. The counting rule decides which tracked movements qualify, often using a virtual line or a defined area.
The distinction explains why an object detector's published image-recognition score isn't a traffic-count accuracy figure. A system might detect a car repeatedly but lose its identity during an overlap, creating a duplicate count. Or it might track the car correctly but apply the wrong crossing rule.

A clear view of cars doesn't guarantee a clear view of bicycles beside them. Source: AI-generated editorial illustration.
The FHWA handbook describes weather, shadows and occlusion as concerns for video detection. Its technology examples are historical, so they shouldn't be read as limits on every modern model. The physical problem remains: an invisible object gives the system little evidence to work with.
A promising camera location shows each intended crossing clearly, including the smallest relevant road users. Higher placement may reduce overlap, but distant bicycles can then occupy fewer pixels. Mounting height alone doesn't settle the trade-off.
Camera systems suit studies needing multiple movements or object types without pavement work. They're less convincing where the relevant path stays hidden. For those sites, a different viewpoint, another sensor or manual observation may be more useful than spending time on model adjustments.
Where OpenDataCam fits in a counting pilot
A planning team may want to inspect how a counter works, rather than receive an unexplained total. Yet open-source software can still produce misleading results if the team treats its interface as a certificate of accuracy. Transparency helps you investigate error; it doesn't prevent error.
The lab's original OpenDataCam setup used an NVIDIA Jetson TX2 board and off-the-shelf equipment, with open-source software running locally. The documented OpenDataCam V2 camera-and-computer setup uses YOLO for object detection, tracks moving objects, and lets you specify counting areas through an interface. You can export tallies and traces or access raw data points through its API. The project description states that it isn't connected to the cloud.
Our explanation of persistent object tracking describes why frame-by-frame detections need identities that survive across frames. That problem is directly relevant to duplicate counts and interrupted trajectories. It's a useful starting point for understanding the output, rather than treating every bounding box as a separate passage.
For a pilot, OpenDataCam provides an inspectable route from camera observations to counts. Your trial can compare its output against agreed reference events, revise the counting areas, and document which conditions remain troublesome. The lab's project descriptions don't supply a general accuracy guarantee.
The value is access to the method and its outputs. Before using the result for a funding decision or public claim, you'd still need evidence that this particular deployment measures the intended movements.
Accuracy needs a denominator, a class and a time window
A dashboard can show exactly the expected total while getting the detail wrong. Say a reviewed reference count contains 360 cars and 40 bicycles. A hypothetical counter reports 380 cars and 20 bicycles after labelling half the bicycles as cars. Both totals are 400. The apparent agreement conceals a serious problem for a cycle-lane evaluation.
Here's the working: reference total = 360 + 40 = 400; counter total = 380 + 20 = 400. Signed bicycle-count error = (20 − 40) ÷ 40 × 100 = −50%. These are illustrative values, not field results or an OpenDataCam benchmark.

Matching totals can conceal a large class-level error: the bicycle count is half the reference count. Source: illustrative example created for this article; not measured traffic or an OpenDataCam test.
Your validation therefore needs more than a combined percentage. Signed count error reveals overcounting or undercounting. Absolute error per reporting interval stops opposite errors cancelling across the day. Class-level checks show which modes carry the error. Missing-data checks distinguish a quiet road from a counter that stopped working.
Where event-level outputs exist, precision asks how many reported crossings were valid; recall asks how many reference crossings were captured. Missed vehicles and duplicates can cancel in a total, but these measures keep the two failures separate. They require matched reference events, not just two daily sums.
The test is more useful when it samples the conditions that threaten your decision: queues, poor light, large vehicles alongside smaller ones, and relevant turning movements. A calm midday sample won't establish evening performance. Rare classes also need enough observations to make their error interpretable.
An acceptance threshold belongs beside the decision, not beside a generic product claim. If the change you're evaluating is small relative to measured error, you can't confidently attribute it to the street intervention. A larger or differently structured survey may be needed.
An accurate count can still cover the wrong day
A perfect morning tally doesn't represent a year. Say your before-survey happens on a dry school day, while the after-survey coincides with a holiday and roadworks nearby. The counter may be working correctly, but the comparison mixes the intervention with unrelated changes.
FHWA's Traffic Monitoring Guide (2013) distinguishes short-duration observations from annual average daily traffic, or AADT. Short counts used for annual estimates generally need temporal adjustments; axle counts may also require axle-to-vehicle correction. Measurement error and sampling error are different problems.
For an intervention study, comparable observation periods and notes on weather, school calendars and diversions help explain the result. Reporting the observed dates is more honest than implying that a brief survey represents all traffic. Repeated periods can reveal whether the finding persists.
Camera-based work brings another boundary: collecting useful counts without retaining unnecessary personal data. Local processing reduces reliance on cloud transfer, but it doesn't make collection automatically anonymous or lawful. The European Data Protection Board's video-device guidelines (2020) connect recording and retention choices to purpose and data minimisation.
Your collection plan can define the applicable legal basis, who accesses any footage, how long validation material is needed and what will be published. Aggregated counts often meet the reporting need without publishing identifiable images. Permissions and privacy arrangements belong before collection, rather than after the chart is ready.
The best counter is the one your decision can trust
A survey can produce an attractive chart and still leave you unsure whether traffic changed. That happens when equipment selection, validation and observation periods are treated as separate chores.
For vehicle counting, a small reviewed pilot is often a better first investment than a larger untested installation. Manual counts can clarify rules; tubes can cover suitable temporary road surveys; loops can support a fixed long-running series; camera systems such as OpenDataCam can make richer movements inspectable.
Your final result is strongest when the chart travels with its measurement definition, class-level error checks and observation dates. Then someone assessing a street change can distinguish what happened on the road from what happened inside the counter.
Frequently asked questions
Which traffic-counting method is most accurate?
There's no universal winner across sites and tasks. A maintained loop can suit continuous motor-traffic monitoring, while a reviewed manual count can suit a short turning survey. Tubes and camera systems also need local validation, including the vehicle classes and conditions that matter to your decision.
Can a traffic camera count bicycles as well as cars?
It can if the detection model recognises those classes and the camera gives them enough visible detail. A bicycle hidden behind a van may still be missed. Separate class-level checks reveal problems that a combined traffic total can conceal.
What does OpenDataCam do?
OpenDataCam is move lab's open-source tool for counting and tracking moving objects with computer vision. Its documented setup processes video locally, and V2 lets you select counting areas and export tallies and traces. The lab's project descriptions don't provide a general accuracy guarantee, so a deployment needs its own validation.