Imaging objects out of sight using a single photodetector