Vision-based Intelligent Electronic Warnings: Machine vision keeps an electronic eye out for vehicles and pedestrians