First an image mask is set up and the camera-world calibration calculated. |
 |
 |
Next optic flow is found. |
 |
 |
Next moving shapes are found and tracked. |
 |
 |
Next real-world speeds are calculated. |
 |
 |
Next trip wire counts are calculated (yellow=vertical trip wires, i.e., for pedestrians;
red=horizontal trip wires, i.e., for vehicles). |
 |
 |