class TencentAI

Class TencentAI.

Constants

VERSION

Methods

static TencentAI
getInstance($appId, string $appKey, bool $jsonFormat = false, int $timeout = 100, int $retry = 1, bool $debug = false)

No description

mixed
__call(string $name, array $arguments)

返回对象

__get($name)

No description

string
getVersion()

查看版本号.

static void
close()

No description

Audio
audio()

No description

Face
face()

No description

Image
image()

No description

NaturalLanguageProcessing
nlp()

No description

OCR
ocr()

No description

Photo
photo()

No description

Translate
translate()

No description

Details

at line 82
static TencentAI getInstance($appId, string $appKey, bool $jsonFormat = false, int $timeout = 100, int $retry = 1, bool $debug = false)

Parameters

$appId
string $appKey
bool $jsonFormat
int $timeout
int $retry
bool $debug

Return Value

TencentAI

at line 104
mixed __call(string $name, array $arguments)

返回对象

Parameters

string $name
array $arguments

Return Value

mixed

at line 122
__get($name)

Parameters

$name

at line 132
string getVersion()

查看版本号.

Return Value

string

at line 137
static void close()

Return Value

void

at line 43
Audio audio()

Return Value

Audio

at line 43
Face face()

Return Value

Face

at line 43
Image image()

Return Value

Image

at line 43
NaturalLanguageProcessing nlp()

Return Value

NaturalLanguageProcessing

at line 43
OCR ocr()

Return Value

OCR

at line 43
Photo photo()

Return Value

Photo

at line 43
Translate translate()

Return Value

Translate