Design of a real-time face detection architecture for heterogeneous systems-on-chips