A novel device mimics human vision's hierarchy and advances in-sensor computing with high efficiency and accuracy.