added face shape detection and visualization