Near-infrared (NIR) photon detection and object recognition are crucial technologies for all-weather target identification.