Energy-autonomous always-on cognitive and attentive cameras for distributed real-time vision with milliwatt power consumption