Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Google
Cloud
Vision
Annotation
Face
Landmarks
midpointBetweenEyes
Google\Cloud\Vision\Annotation\Face\Landmarks::midpointBetweenEyes PHP Method
Landmarks Class Documentation
Exibir arquivo
Open project: GoogleCloudPlatform/gcloud-php
midpointBetweenEyes()
public
method
Example:
$pos = $landmarks->midpointBetweenEyes(); 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
midpointBetweenEyes
( ) :
array
return
array
public function midpointBetweenEyes() { return $this->getLandmark('MIDPOINT_BETWEEN_EYES'); }
Landmarks
__construct
chin
ears
forehead
getLandmark
leftEye
leftEyeBoundaries
leftEyePupil
leftEyebrow
lips
midpointBetweenEyes
mouth
nose
rightEye
rightEyeBoundaries
rightEyePupil
rightEyebrow