Skip to main content
. 2021 Jul 17;23(7):910. doi: 10.3390/e23070910
Algorithm 1 Vehicle Speed Measurement Algorithm
Input:  Binocular Stereovision Video Sequence
Output:  Vehicle Speed
  1:  function Vehicle speed measurement
  2:        if License plate detected then
  3:            if Logo detected then
  4:                 v = vplate+vlogo+vlight3
  5:            else Logo undetected
  6:                 v = vplate+vlight2
  7:            end if
  8:        else License plate undetected
  9:             if Logo detected then
10:                 v=vlogo+vlight2
11:             else Logo undetected
12:                 v = vlight
13:             end if
14:        end if
15:        return v
16:  end function