A CNN-based passive optical range finder for real time robotic applications