Detect face in images in pure PHP