Holistic Optimization of Embedded Computer Vision Systems