Once you have access to Otto's Lab (it's in the Quarry, on the right hand side of the map) go into it and a cutscene will start. After it ends talk to him again, go through the dialogue options and he will grant you access to the Otto Shot and a device for tuning into stray thoughts.
After you've acquired the Otto Shot, hold
to use it
Press
to take the photo.