Reimagining the Machine Vision Pipeline in Cyber Physical Systems for Trustworthiness and Efficiency