Google\Cloud\Vision\Annotation\Face\Landmarks::leftEyebrow PHP Method

leftEyebrow() public method

This method returns an array with three keys: left, right, upperMidpoint. The value of each of these keys is of the normal Position format described in the Cloud Vision documentation. Example: $positions = $landmarks->leftEyebrow(); foreach ($positions as $name => $pos) { echo "Position Type: ". $name . PHP_EOL; echo "x position: ". $pos['x'] . PHP_EOL; echo "y position: ". $pos['y'] . PHP_EOL; echo "z position: ". $pos['z'] . PHP_EOL; }
See also: https://cloud.google.com/vision/reference/rest/v1/images/annotate#position Position
public leftEyebrow ( ) : array
return array
    public function leftEyebrow()
    {
        return ['left' => $this->getLandmark('LEFT_OF_LEFT_EYEBROW'), 'right' => $this->getLandmark('RIGHT_OF_LEFT_EYEBROW'), 'upperMidpoint' => $this->getLandmark('LEFT_EYEBROW_UPPER_MIDPOINT')];
    }