Google\Cloud\Vision\Annotation\ImageProperties::colors PHP Method

colors() public method

Example: $colors = $imageProperties->colors();
See also: https://cloud.google.com/vision/reference/rest/v1/images/annotate#colorinfo ColorInfo
public colors ( ) : array
return array
    public function colors()
    {
        return $this->info['dominantColors']['colors'];
    }
ImageProperties