Embedded Face Recognition Using Cascaded Structures