CMOS image sensor design for always-on object detection