1 of 43

Queen Creek Video Count Analysis Project Summary�

Completed by the Town of Queen Creek with support from:

Dr. Jeff Jenq, MAG

Dr. Sarath Joshua, MAG (retired)

Tricia Brown, ADOT

Dr. Sarah Simpson, UCG

Arizona ITE-IMSA Annual Spring Conference

April 2024

2 of 43

Presentation Overview

Motivation

Process

Findings

Conclusions

2

3 of 43

Motivation

  • Perform unbiased study using statistical analysis
  • ATSPMs and signal optimization are fully dependent on the use of traffic counts
  • Video detection systems are commonly used for traffic signal operation, and for a variety of good reasons
  • Video analytics / ATSPMs are now available from a variety of suppliers
  • Are ATSPMs from video analytics acceptable?
  • What kinds of situations lead to poor count performance?

3

4 of 43

Motivation

  • Need to analyze all types of conditions
    • High Volume Periods
    • Low Volume Periods
    • Sunrise
    • Sunset
    • Day of the Equinox (Sunset/Sunrise aligns with East/West lanes)
    • Different lane types (Lane by lane)
  • Four manual count observers to mitigate human error
  • Binning as small as practicable to mimic detection needs for operations

4

5 of 43

Process

  • TOQC recorded videos and video lane-by-lane counts for
    • 8 intersections
    • 30 cameras
    • Videos from September 2022 – around Equinox and worst sun scenarios
  • Three time periods (~10 hours total recording each)
    • AM
    • Mid-day
    • PM
  • Four human observers counted lane-by-lane in 5-minute bins during green phase crossing stop bar
  • ~300 hours of videos, 4 people. A lot, lot, lot of time to manually observe.
  • A few video sections had to be thrown out due to glitches, but not many.

5

6 of 43

Process – Reconciliation of Human Counts

  • With 14,000 5-minute bins, cannot afford the level of effort to do recounts
  • Reasonable process:
    • Four people match, OK
    • Three people match, OK
    • Two people match, two people match and off by one 🡪 use average
    • Two people match and one of those is the most experienced counter 🡪 use this number
  • Note: if average is the “ground truth”, video counted as correct if off by 0.5
    • Example: Average is 20.5, video is “right” if 20 or 21. If 22 or 19, “wrong”.
    • “Wrong” here means not a 100% match. There are many use cases for the data where 117 instead of 119 will not cause adverse affects.

6

7 of 43

Statistical Comparisons

  • Pearson Goodness of Fit test
  • Histogram comparisons
  • Tabulation of over- and under-counting bins
  • Qualitative judgment of unacceptable error severity

7

8 of 43

Pearson Test

  • Compares every observation to each other (video/humans) to determine how closely a “straight line” can be drawn to connect the two
  • The lower the value of the Pearson, the worse the match between video and ground truth
  • Over- and under-counts drive down the Pearson value, even though the average might be just fine (squaring the differences in the denominator causes this)

8

9 of 43

Pearson Test

  • Good example (0.98)

Ocotillo and Power NB Left

  • Poor example (0.81)

Ocotillo and Ellsworth Loop NB Thru 2

Note that Pearson of 0.98 does not mean “98% correct”

9

10 of 43

Where’s our good friend the T-test?

  • #1 – Traffic is not “normally distributed”
    • Counts cannot be less than zero
  • #2 – comparisons at low number of observations (<100) have high level of standard error, i.e. the significance of a finding can be weak.
  • #3 – findings that the means are probably the same are not usually helpful for traffic operations uses of the information, need to dig deeper than this
    • Skewness is key: inspect histograms and look at under/over counting errors instead of t-values and standard error

10

11 of 43

Tabulating over and under counts

  • Identifies bias, or lack of bias
  • Careful here: “off by one” and “off by 10” are counted the same in this analysis
  • “30% undercount” is not a traffic volume, it is the number of bins undercounted in the data set (e.g. 3 out of 10 bins are undercounted by the video)
  • 30% over, 30% under, 40% exact with Pearson 0.98 is generally fine (off by 1 errors)
  • 30% over, 30% under 40% exact with Pearson 0.92 🡪 generally indicates some problem
  • Unequal distribution of under/over count percentages 🡪 bias
  • Combine with Pearson to determine degree of bias
  • We also tabulated cumulative under/over count total volume, but decided not to consider a numerical/statistical test for this
    • Example: total count is 1,500. Undercount is 150, Overcount is 50

11

12 of 43

Qualitative assignment of significant findings

  • Any Pearson below 0.94 seems to indicate some kind of issue
  • Determined by engineering judgment
    • Acceptable: Almost all Pearson 0.95+
    • Slight undercount: Inspect graph
    • Undercount: Pearson < 0.95 and/or % counts under very high
    • Slight overcount: Inspect graph
    • Overcount: Pearson < 0.95 and/or % counts over very high
    • Both over/undercount: inspect graph

Reminder: Pearson of 0.94 does not mean “94% correct”

Pearson indicates how closely a “straight line” can be drawn to connect the video and person counts

12

13 of 43

Acceptable

Sossaman Road and Riggs Road

Count

Frequency of Bin Count

Count range

Bin Start Time

13

14 of 43

Slight Undercount

Ocotillo Road and Power Road

Count

Frequency of Bin Count

Count range

Bin Start Time

14

15 of 43

Undercount

Ocotillo Road and Ellsworth Loop Road

Count

Frequency of Bin Count

Count range

Bin Start Time

15

16 of 43

Both Under/Over in the Same Period

Ocotillo Road and 226th Road

Count

Frequency of Bin Count

Count range

Bin Start Time

16

17 of 43

Over/undercount at the same time

  • Could it be caused by bin breakpoints?
    • Humans concluded the vehicle crossing the stop bar at the exact time the bin ended were in “Bin 1”
    • Video concluded the vehicle crossing the stop bar at the exact time the bin ended were in “Bin 2”
  • Does not seem prevalent
  • <2% of occurrences appear as off-by-one “ping-pong” behavior possibly due to bin breakpoints occurring during the green/yellow interval of the approach/phase being counted
  • Many occurrences of multiple sequential “under” bins and then later in the time period many/several occurrences of “over” bins in this category

17

18 of 43

Findings

  • Generally the video system “gets it exactly right” for 60% of the bins
  • Many (10%-20%) additional bin errors are just “off by one
  • At the highest level of total aggregation for all eight intersections/30 cameras for all observations the video system undercounts by 2% of the total volume (~180,000 versus ~176,000 total vehicles)

18

19 of 43

Each Intersection, All TOD Periods

Note generally how high the Pearson values are at this level of total aggregation

Denotes finding of concern

19

20 of 43

Each intersection, Each TOD Period

Location

AM

Mid-Day

PM

Rittenhouse/Ellsworth

EB over, WB/SB/NB under

Slight over

Slight under

Rittenhouse/Hawes

Under

Slight Under

Under

Ocotillo/Crismon

Under

EB/WB under, SB over

Under

Ocotillo/226th

OK

OK

OK

Ocotillo/Ellsworth

OK

OK

EB/WB over, NB/SB under

Hawes/Chandler Heights

OK

OK

OK

Ocotillo/Power

OK

OK

OK

Sossaman/Riggs

OK

OK

OK

Denotes finding of concern

20

21 of 43

Each Approach, Each TOD Period

Location

EB

WB

NB

SB

AM

Mid-Day

PM

AM

Mid-Day

PM

AM

Mid-Day

PM

AM

Mid-Day

PM

Rittenhouse/ Ellsworth

OK

Over

Over

OK

OK

OK

OK

OK

OK

OK

OK

OK

Rittenhouse/Hawes

OK

Under

Under

OK

OK

Under

OK

OK

OK

N/A

N/A

N/A

Ocotillo/Crismon

Under

Slight under

Slight Under

OK

OK

Under

N/A

N/A

N/A

OK

Over

OK

Ocotillo/226th

OK

OK

OK

OK

OK

OK

Inc

OK

Inc

Inc

Over

OK

Ocotillo/Ellsworth

OK

Over

Over

Over

U/O

U/O

Under

OK

Under

OK

U/O

Under

Hawes/Chandler Heights

OK

OK

OK

OK

OK

OK

U/O

OK

OK

OK

Over

Under

Ocotillo/Power

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

Under

Sossaman/Riggs

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

Denotes finding of concern

N/A indicates approach does not exist

21

22 of 43

Each Lane, Each TOD Period, Each Approach

Ocotillo/Ellsworth

Lanes

Left 1

Left2

Thru1

Thru2

Thru3

Thru/R

Right

EB AM

OK

N/A

OK

OK

N/A

N/A

OK

EB Mid

Over

N/A

Over

Over

N/A

N/A

OK

EB PM

Slight over

N/A

Over

Over

N/A

N/A

O/U

WB AM

OK

N/A

OK

Over

N/A

N/A

OK

WB Mid

O/U

N/A

Over

Over

N/A

N/A

OK

WB PM

Under

N/A

Over

Over

N/A

N/A

OK

NM AM

OK

N/A

Under

Under

N/A

Under

N/A

NB Mid

OK

N/A

Slight under

OK

N/A

Slight under

N/A

NM PM

OK

N/A

Slight under

Under

N/A

Slight under

N/A

SB AM

OK

N/A

OK

OK

N/A

OK

N/A

SB Mid

Over

N/A

Slight Under

OK

N/A

OK

N/A

SB PM

OK

N/A

Under

Under

N/A

Under

N/A

Denotes finding of concern

N/A indicates lane does not exist

22

23 of 43

Each Lane,�Each TOD Period, Each Approach…

Skipping 10+ tables like previous…see report

23

24 of 43

Conclusions

  • 309 individual time-period-lane findings (103 lanes, 3 periods per lane)

  • Undercount 16%, Overcount 17%
  • Although slight bias to undercount total volume (~2%), Over/Under error rates are approximately the same
  • Probably a 2%-3% margin of error introduced by counting process artifacts (bin start/end times occurring during a green phase). i.e. Acceptable percentage might be 66% instead of 63%.

Result

Number

Percent

Acceptable

194

63%

Undercount

41

13%

Slight Undercount

9

3%

Slight Overcount

18

6%

Overcount

34

11%

Both overcount and undercount

13

4%

Total

309

100%

Time periods deemed “inconclusive” due to lack of enough information (<1%) were counted as “acceptable” for the purpose of this table.

Acceptable =

Pearson >0.95, per lane, per time period

24

25 of 43

Conclusions: West-pointing cameras

  • Three times more likely to Overcount than Undercount when wrong
  • Through counts are more often incorrect than exactly correct
  • Occlusion causes double-counting?

Time periods deemed “inconclusive” due to lack of enough information (<1%) were counted as “acceptable” for the purpose of this table.

Result

Left

Through

Shared Thru/Right

Right

Total

Acceptable

9

18

8

7

42 (48%)

Undercount

1

6

1

1

9 (10%)

Slight Undercount

0

1

0

0

1 (1%)

Slight Overcount

4

5

0

0

9 (10%)

Overcount

8

8

0

2

18 (20%)

Both overcount and undercount

2

4

0

2

8 (9%)

Total

24

42

9

12

87

Acceptable =

Pearson >0.95, per lane, per time period

25

26 of 43

Conclusions: East-pointing cameras

  • Twice as likely to overcount than undercount
  • Error rate (25%) is half of error rate of west-pointing cameras (52%)

Time periods deemed “inconclusive” due to lack of enough information (<1%) were counted as “acceptable” for the purpose of this table.

Result

Left

Through

Shared Thru/Right

Right

Total

Acceptable

17

29

8

9

63 (75%)

Undercount

1

2

0

3

6 (7%)

Slight Undercount

0

0

1

0

1 (1%)

Slight Overcount

2

2

0

0

4 (5%)

Overcount

4

5

0

0

9 (11%)

Both overcount and undercount

0

1

0

0

1 (1%)

Total

24

39

9

12

84

Acceptable =

Pearson >0.95, per lane, per time period

26

27 of 43

Why is pointing West apparently harder than pointing East (in this data set)?

  • In the AM period, the volumes are significantly lower than the mid-day and PM periods
  • The higher the volume being counted, the more difficult it becomes for the camera system to perform acceptably
  • Since the traffic volume coming westbound in the AM (sunrise) is 3x lower than the volume going eastbound in the PM (sunset), the error rate for cameras pointing into the sun during sunrise is significantly lower than for cameras pointing into the sun during sunset

The unacceptable performance during sunset (west-pointing cameras) or sunrise (east-pointing cameras) tends to be to overcount.

27

28 of 43

Conclusions: Why is Ellsworth/Ocotillo least acceptable?

28

29 of 43

Summary of Conclusions

  • The Video Detection counts are an exact match to manual counts ~65% in 5-minute bins
  • Another 10%-20% is probably good enough (“off by one” kind of errors)
  • Sunset is difficult to count correctly when pointing into the sun
  • Higher volumes are more difficult to count correctly to get right than lower volumes (more vehicles to track/identify in the scene)
  • Sunrise seemed to not be as difficult as sunset, but this is probably due to significantly lower volumes in Queen Creek in the AM period
  • No systematic bias of this particular system to generally under/over count, although total volume was ~2% lower than actual volume
  • Possibly a 2%-3% margin of error introduced by counting process artifacts

29

30 of 43

Questions?

31 of 43

32 of 43

Backups

33 of 43

Jump to Conclusions

  • The 5-minute binned Video Detection counts are an exact match to manual counts ~65% of the time
  • Another ~10% of the 5-minute binned video counts are only “off by one”
  • Sunset is difficult to count correctly when pointing into the sun
  • Higher volumes are more difficult to count correctly than lower volumes (more vehicles to track/identify in the scene)
  • Sunrise seemed to not be as difficult as sunset, but this is probably due to significantly lower volumes in Queen Creek in the AM period
  • No systematic bias of this particular system to generally under/over count, although total volume was ~2% lower than manual count or ground truth volume
  • Probably a 2%-3% margin introduced by counting process artifacts

33

34 of 43

Slight Overcount

Sossaman Road and Riggs Road

34

35 of 43

Overcount

Rittenhouse Road and Ellsworth Loop Road

35

36 of 43

All intersections/cameras by TOD

36

37 of 43

Each Approach, All TOD Periods

Location

EB

WB

NB

SB

Rittenhouse/Ellsworth

OK

OK

OK

OK

Rittenhouse/Hawes

Under

Under

OK

N/A

Ocotillo/Crismon

Under

Under during PM only

N/A

OK

Ocotillo/226th

OK

OK

OK

Over

Ocotillo/Ellsworth

Over

Over

Under

Under

Hawes/Chandler Heights

OK

OK

Errors at low volumes (AM)

Under in PM

Ocotillo/Power

OK

OK

OK

Slight under

Sossaman/Riggs

OK

OK

OK

OK

Denotes finding of concern

37

38 of 43

Each Lane, All TOD Periods (EB)

Location

Eastbound

Left 1

Left2

Thru1

Thru2

Thru3

Thru/R

Right

Rittenhouse/ Ellsworth

OK

O/U

OK

OK

OK

N/A

OK

Rittenhouse/Hawes

N/A

N/A

OK

N/A

N/A

OK

N/A

Ocotillo/Crismon

Over

N/A

Slight Under

OK

N/A

N/A

N/A

Ocotillo/226th

OK

N/A

Under

OK

N/A

N/A

Over

Ocotillo/Ellsworth

O/U

N/A

Over

Over

N/A

N/A

OK

Hawes/Chandler Heights

Slight over

N/A

Slight over

N/A

N/A

OK

N/A

Ocotillo/Power

Over

N/A

N/A

N/A

N/A

OK

N/A

Sossaman/Riggs

OK

N/A

OK

OK

OK

N/A

OK

Denotes finding of concern

N/A indicates lane does not exist

38

39 of 43

Each Lane, All TOD Periods (WB)

Location

Westbound

Left 1

Left2

Thru1

Thru2

Thru3

Thru/R

Right

Rittenhouse/ Ellsworth

Over

OK

OK

OK

N/A

N/A

Under

Rittenhouse/Hawes

OK

N/A

Under

Under

N/A

N/A

N/A

Ocotillo/Crismon

N/A

N/A

OK

N/A

N/A

Under

N/A

Ocotillo/226th

OK

N/A

Under

OK

N/A

N/A

Over

Ocotillo/Ellsworth

O/U

N/A

Over

Over

N/A

N/A

OK

Hawes/Chandler Heights

OK

N/A

OK

N/A

N/A

OK

N/A

Ocotillo/Power

OK

OK

N/A

N/A

N/A

N/A

OK

Sossaman/Riggs

OK

N/A

OK

OK

OK

N/A

OK

Denotes finding of concern

N/A indicates lane does not exist

39

40 of 43

Each Lane, All TOD Periods (NB)

Location

Northbound

Left 1

Left2

Thru1

Thru2

Thru3

Thru/R

Right

Rittenhouse/ Ellsworth

Under

Under

OK

Under

N/A

N/A

Under

Rittenhouse/Hawes

OK

N/A

OK

N/A

N/A

N/A

N/A

Ocotillo/Crismon

N/A

N/A

N/A

N/A

N/A

N/A

N/A

Ocotillo/226th

Under

N/A

N/A

N/A

N/A

OK

N/A

Ocotillo/Ellsworth

OK

N/A

Under

Under

N/A

Under

N/A

Hawes/Chandler Heights

O/U

N/A

OK

N/A

N/A

O/U

N/A

Ocotillo/Power

OK

N/A

OK

OK

N/A

OK

N/A

Sossaman/Riggs

OK

N/A

OK

N/A

N/A

N/A

OK

Denotes finding of concern

N/A indicates lane does not exist

40

41 of 43

Each Lane, All TOD Periods (SB)

Location

Southbound

Left 1

Left2

Thru1

Thru2

Thru3

Thru/R

Right

Rittenhouse/ Ellsworth

OK

OK

OK

OK

N/A

Under

N/A

Rittenhouse/Hawes

N/A

N/A

N/A

N/A

N/A

N/A

N/A

Ocotillo/Crismon

OK

N/A

N/A

N/A

N/A

N/A

OK

Ocotillo/226th

N/A

N/A

N/A

N/A

N/A

Over

N/A

Ocotillo/Ellsworth

Over

N/A

Under

Under

N/A

Under

N/A

Hawes/Chandler Heights

OK

N/A

Over

N/A

N/A

OK

N/A

Ocotillo/Power

OK

N/A

OK

OK

N/A

OK

N/A

Sossaman/Riggs

OK

OK

OK

N/A

N/A

N/A

OK

Denotes finding of concern

N/A indicates lane does not exist

41

42 of 43

Conclusions: South-pointing cameras

  • Overcount left-turns twice as often as undercount
  • Undercount thru and shared lanes

Time periods deemed “inconclusive” due to lack of enough information (<1%) were counted as “acceptable” for the purpose of this table.

Result

Left

Through

Shared Thru/Right

Right

Total

Acceptable

17

16

11

0

44 (64%)

Undercount

1

8

4

0

13 (19%)

Slight Undercount

1

2

2

0

5 (7%)

Slight Overcount

0

0

0

0

0

Overcount

4

0

0

0

4 (6%)

Both overcount and undercount

1

1

1

0

3 (4%)

Total

24

27

18

0

69

Acceptable =

Pearson >0.95, per lane, per time period

42

43 of 43

Conclusions: North-pointing cameras

  • Overcount left-turns twice as often as undercount
  • Undercount thru and shared lanes
  • Essentially the same type of errors for North and South pointing cameras
  • No directional N/S bias observed (shadows and light/dark transition moving in one direction versus the other have no systematic effect)

Time periods deemed “inconclusive” due to lack of enough information (<1%) were counted as “acceptable” for the purpose of this table.

Result

Left

Through

Shared Thru/Right

Right

Total

Acceptable

16

14

10

5

45 (65%)

Undercount

3

6

4

0

13 (19%)

Slight Undercount

0

2

0

0

2 (3%)

Slight Overcount

3

2

0

0

5 (7%)

Overcount

2

0

0

1

3 (4%)

Both overcount and undercount

0

0

1

0

1 (1%)

Total

24

24

15

6

69

Acceptable = Pearson >0.95, per lane, per time period

43