Photonic Chip Performs Image Recognition at the Speed of Light