Use Cases and Scenarios
Is it possible to do this...
We are only as powerful as the story we tell. What can we do with the data we collect? What can the traffic monitor do?
The TrafficMonitor.ai collects an extensive amount of data, depending on the sensors installed. For details on payloads, check out Events Payload, Radar Payload, and Air Quality (AQ) Payload.
How can I perform a "near miss" analysis using this hardware?
This scenario is where there is a driver of a vehicle and a vulnerable road user like a pedestrian at the crosswalk at the same time.
This is an important and dangerous situation that has absolutely been largely un-captured in our current transportation system. We need to create definitions on what a "near miss / near hit" is, but we have laws we can follow for this. PortlandBicycleSchool.com highlights many of these:
In Oregon, every corner is a crosswalk. ORS 801.220
Pedestrians invoke their right to cross when any part or extension of the pedestrian (body, cane, wheelchair, or bicycle) enters the crosswalk. ORS 811.028(4), 814.040(1)(a)
A driver must remain stopped Until the pedestrian passes the driver’s lane (or lane they intend to turn into) plus one further lane. ORS 811.028
To accomplish this with the TrafficMonitor, the following would allow for analysis of events that have a driver / pedestrian conflict:
Mount a TM watching an intersection.
Draw zones that represent "pedestrian zones" and "driver zones".
This will create separate events for
personandcarwith relevant event payload fields includingstart_time,end_time, andentered_zones.Watch for events where a driver enters the zone simultaneously as a pedestrian in their zone (overlapping start/end times) where the zones will be in conflict.
Download the data and create an analysis that looks at those potential conflicts.
Example scenario analysis:
if a person was at the
zone_ped_ne(bottom left) and wanted to cross S or Wand a car simultaneously entered the
zone_intersection_e(left) and wanted to turn intozone_intersection_n(right)and the car _turned first_ into the
zone_intersection_nbefore the pedestrian crossed, based onstart_timeandend_timefor both eventsThis would potentially be a "near miss" or at least an illegal maneuver for a driver while a pedestrian was in the crosswalk.
You can potentially add in other elements to make the requires more stringent, like seeing if the car was stationary at the stop sign or just blew through it. Or tighten the "pedestrian zone" to represent the very edges of the sidewalk to show the pedestrian had "intent to cross".

Of course, the truly more harrowing observations would include those where a person and car were in the same zone_intersection (on the road) at the same time. That would obviously be a "near miss" if it wasn't a true driver striking a pedestrian.
How can I capture a vehicle not stopping at a stop sign?
This is an all-too-common scenario where a vehicle does not come to a complete stop and/or stop for the legally-mandated amount of time before proceeding through a stop sign. This is also referred to as a "rolling stop", Rhode Island stop, or California stop, depending where you live.
If you are a stickler for the law and want to capture all modalities, be aware that bicyclists may apply the stop-as-yield in some jurisdictions, see Idaho stop.
This is easy to set up to capture this scenario in Frigate.
Set up the Traffic Monitor. The ideal location for a camera is high looking down at the entire intersection.
Set up your Frigate zones:
Set up a "stop sign zone" in a thin strip in front of your stop signs, in the example below you will see
zone_stop_sign_eandzone_stop_sign_wfor the 2-way stop on the east and west, respectively.
For the newly created stop sign zone, set up a "Loitering Time" that aligns with your jurisdiction's rules; e.g. 3-seconds and optionally limit it only to
carsobject. This will cause that zone to only appear if the vehicle is stationary for that amount of time, otherwise the zone will not appear in the object'sentered_zonespayload.
Optionally set up wider zones for each intersection so you can also do analysis on turning behavior. You will be able to calculate, for example, if a car went from the
zone_intersection_etozone_intersection_n, which is a right turn! You may find some interesting driver behaviors.
Confirm your zone placements by observing a few instances. Click on the Frigate > Explore panel, and look for
carobjects that wen through your zone. It may take a long time to find a car that appropriately does the stop.
Last updated
Was this helpful?

