Constants

IMAGE

IMAGE = __DIR__ . '/../resource/vision/'

OUTPUT

OUTPUT = __DIR__ . '/../output/image/'

IMAGE_FACE

IMAGE_FACE = self::IMAGE . '../face/wxc.jpg'

TERRORISM

TERRORISM = self::IMAGE . 'terrorism.jpg'

SCENER

SCENER = self::IMAGE . 'scener.jpg'

DOG

DOG = self::IMAGE . 'dog.jpg'

FLOWER

FLOWER = self::IMAGE . 'flower.jpg'

VEHICLE

VEHICLE = self::IMAGE . 'vehicle.jpg'

FOOD

FOOD = self::IMAGE . 'food.jpg'

Properties

$ai

$ai : \TencentAI\TencentAI

Type

\TencentAI\TencentAI

$name

$name : 

Type

$array

$array : 

Type

Methods

ai()

ai() 

testPorn()

testPorn() 

智能鉴黄.

Throws

\TencentAI\Error\TencentAIError

testTerrorism()

testTerrorism() 

暴恐识别.

Throws

\TencentAI\Error\TencentAIError

testScener()

testScener() 

物体场景识别 => 场景识别.

Throws

\TencentAI\Error\TencentAIError

testObject()

testObject() 

物体场景识别 => 物体识别.

Throws

\TencentAI\Error\TencentAIError

testTag()

testTag() 

标签识别.

Throws

\TencentAI\Error\TencentAIError

testIdentifyFlower()

testIdentifyFlower() 

花草识别.

Throws

\TencentAI\Error\TencentAIError

testIdentifyVehicle()

testIdentifyVehicle() 

车辆识别.

Throws

\TencentAI\Error\TencentAIError

testImageToText()

testImageToText() 

看图说话.

Throws

\TencentAI\Error\TencentAIError

testFuzzy()

testFuzzy() 

模糊图片检测.

Throws

\TencentAI\Error\TencentAIError

testFood()

testFood() 

美食图片.

Throws

\TencentAI\Error\TencentAIError

tearDown()

tearDown() 

image()

image()