bugs in face recognition fixed.
bugs in alert generation fixed partially.