Real-time 3D multi-object detection and localization based on deep learning for road and railway smart mobility