An Origami Perovskite Photodetector with Spatial Recognition Ability.