In-sensor dynamic computing for intelligent machine vision