GoogleVision
extends CFGoogle
in package
[$cfGoogle = $this->core->loadClass('CFGoogle');] Class to facilitate Google APIs integration like vision
Table of Contents
Properties
Methods
- __construct() : mixed
- addError() : mixed
- analyze() : mixed
- analyze_pdf() : mixed
- check() : mixed
- verifyToken() : mixed
Properties
$client
public
mixed
$client
$core
public
mixed
$core
$error
public
mixed
$error
= \false
$errorMsg
public
mixed
$errorMsg
= []
$scope
public
mixed
$scope
$type
public
mixed
$type
= 'installed'
Methods
__construct()
public
__construct(Core7 &$core[, mixed $type = 'installed' ]) : mixed
Parameters
- $core : Core7
- $type : mixed = 'installed'
addError()
public
addError(mixed $value) : mixed
Parameters
- $value : mixed
analyze()
public
analyze(mixed $gcsurl[, mixed $options = [] ]) : mixed
Parameters
- $gcsurl : mixed
- $options : mixed = []
analyze_pdf()
public
analyze_pdf(mixed $gcsurl) : mixed
Parameters
- $gcsurl : mixed
check()
public
check([mixed $image = 'gs://cloudframework-public/api-vision/face.jpg' ]) : mixed
Parameters
- $image : mixed = 'gs://cloudframework-public/api-vision/face.jpg'
verifyToken()
public
verifyToken(mixed $id_token[, mixed $uid = null ]) : mixed
Parameters
- $id_token : mixed
- $uid : mixed = null