Real time object distance estimation