Google\Cloud\Vision\Annotation\Face::__construct PHP Method

__construct() public method

This class is created internally by {@see \Google\Cloud\Vision\Annotation}. See {@see \Google\Cloud\Vision\Annotation::faces()} for full usage details. This class should not be instantiated outside the externally.
public __construct ( array $info )
$info array The face annotation result
    public function __construct(array $info)
    {
        $this->info = $info;
        $this->landmarks = new Landmarks($info['landmarks']);
    }