code/extensions/ExtendedImage.php
public function DetectFace(){
			$detector = new svay\FaceDetector();
			$detector->faceDetect($this->owner->getFullPath());
			return $detector->getFace();
		}
public function DetectFace(){
			$detector = new svay\FaceDetector();
			$detector->faceDetect($this->owner->getFullPath());
			return $detector->getFace();
		}
public function DetectFace ( ) { $ detector = new svay \ FaceDetector ( ) ; $ detector -> faceDetect ( $ this -> owner -> getFullPath ( ) ) ; return $ detector -> getFace ( ) ; }
Detect a Face inside the image

returns null or an Array with x, y coordinates and w = width/height (square)
@return Array
Detect a Face inside the image