The fastest way to blame “the AI” for bad counts is to feed it bad video. Traffic camera placement and encoding choices decide whether RD Analytics (or any video analytics engine) can see vehicles and people clearly. This guide consolidates practical video analytics camera guidelines used across the industry—adapted for RD Analytics survey and ops work.

Rule zero: if you cannot clearly identify the object with your own eyes in a paused frame, do not expect reliable detection.

Target image quality

ParameterPractical targetNotes
Resolution1920×1080 preferred; ≥1280×720 OK640×480 is a hard floor and often too weak for peds
Frame rate25–30 fps≥10 fps minimum; low fps breaks tracking in dense flow
CodecH.264 / H.265Avoid heavy “overnight low bitrate” presets
ViewportStaticNo touring, no stream switching mid-study
Object sizeRoughly 5–30% of frame width for vehiclesToo small → misses; too large → lost context / occlusion

4K helps when the camera is high or the brief includes small objects (pedestrians, scooters). It also costs disk and GPU—match resolution to the hardest class you must count.

Height and distance

Industry guidance that works well for junction cameras:

Recommendation
Optimal height~8–12 m
Minimum height~5 m (lower → foreground blockers)
Maximum for multimodal~30 m before peds/cycles suffer
DistanceKeep critical objects within ~70 m for full class mix when possible

Lower poles looking under trees fail; roof mounts that are too high turn people into dots. For vehicle-only highway views you can fly higher (especially with drones)—accept that pedestrians drop out (drone guide).

Angle and FOV

  • Diagonal or elevated side views usually beat flat head-on for classification.
  • Pure head-on can hide axles and length (painful for fine truck schemes).
  • Nadir drone views excel for O–D; stabilise or use RD’s stabilizer geometry if the airframe shakes.
  • Avoid extreme fisheye barrel distortion when possible.
  • Cover the lanes you care about; do not waste pixels on sky and car park if the brief is the junction.

Obstacles and occlusion

ObstacleEffectMitigation
Trees, banners, signalsBroken tracks, double countsMove mount; crop/blind areas
Queues stackingMissed rear vehiclesPlace count lines downstream of stop line
Night headlights / glareWashed detectionsWDR cameras; aim off direct sun paths
Dirty domePermanent soft focusMaintenance schedule
PTZ toursInconsistent geometryLock preset for analytics

Large occluders are worse than thin poles. If a bus hides a bike every cycle, no model fully heals that.

Lighting, shutter, and night

  • Objects must be illuminated enough for a human to see contours.
  • Disable overly long night shutters that smear cars into streaks.
  • Prefer cameras with WDR for mixed shadow/sun.
  • IR-only scenes can work for vehicles; test before promising ped accuracy.
  • Do not switch day/night profiles in a way that changes FOV or crop mid-study.

Encoding and file hygiene for RD Analytics

RD Analytics ingests video files and batches (and stream workflows where licensed). For file surveys:

  1. One continuous setting per source—no resolution flips mid-file.
  2. Split long days into hourly files if needed; use batch sources.
  3. Name files with site + start time.
  4. Copy large volumes by disk to /opt/rd_analytics data paths when uploads are slow.
  5. After upload, draw geometry on a busy representative frame, not an empty midnight frame.

Checklist before you press record

  • Height/aim cover all study lanes
  • Sample frame shows cars clearly; peds if required
  • 1080p @ 25–30 fps (or justified exception)
  • Fixed view; PTZ locked
  • Lens clean; sun flare minimised
  • Peak periods included
  • Privacy/signage handled (privacy article)
  • Plan for RD scan geometry (lines/zones/speed)

Quick validation in software

After a short test process in RD Analytics:

  1. Scrub the timeline—boxes should stick to objects.
  2. Compare a 10-minute manual count on one line.
  3. If peds are missing, lower aim or tighten FOV before buying a “better model.”
  4. Save the scan as a template for the next day.

Next step

Audit one existing CCTV preset against this list before the next survey season. Many “AI failures” disappear after a 2-metre mount change or a bitrate increase. Then process a sample in RD Analytics.

Related: installation, counting, drones.

Explore RD Analytics