History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
ci:CreateAIGameLabelJob permission must be granted. For details, please refer to Cloud Infinite.GET /<ObjectKey>?ci-process=AIGameRec HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
GET /?ci-process=AIGameRec&detect-url=<detect-url> HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
Parameter | Description | Required | Type |
ObjectKey | Image address | Yes (choose one between ObjectKey and detect-url) | String |
detect-url | You can fill in detect-url to perform gaming scene recognition on any publicly accessible image. When detect-url is not filled in, the backend will process ObjectKey by default; when detect-url is filled in, the backend will process the detect-url link, and there is no need to fill in ObjectKey. Example of detect-url: http://www.example.com/abc.jpg. | Yes | String |
Parameter Name | Type | Description |
RecognitionResult | Container | Image gaming tag recognition result |
Parameter Name | Type | Description |
GameLabels | Container | Gaming tag information |
Parameter Name | Type | Description |
Confidence | Int | The confidence score of this tag, the higher the score, the higher the accuracy of the tag. |
FirstCategory | String | First-level tag |
SecondCategory | String | Second-level tag |
GameName | String | Identified game tag name |
GET /ObjectKey?ci-process=AIGameRec HTTP/1.1Host: examplebucket-1250000000.cos.ap-chengdu.myqcloud.comDate: Tue, 03 Apr 2019 09:06:15 GMTAuthorization:XXXXXXXXXXXX
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 645Date: Tue, 03 Apr 2018 09:06:16 GMTStatus: 200 OKx-cos-request-id: NWFjMzQ0MDZfOTBmYTUwXzZkZV8z****<RecognitionResult><GameLabels><Confidence>100</Confidence><FirstCategory>Gaming</FirstCategory><SecondCategory>Gaming</SecondCategory><GameName>Honor of Kings</GameName></GameLabels></RecognitionResult>
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan