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:CreatePetDetectJob permission is required. For details, see Cloud Infinite action.GET /<ObjectKey>?ci-process=detect-pet HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
Parameter Name | Description | Type | Required or Not |
ci-process | Cloud Infinite processing capability Pet recognition fixed as detect-pet | String | Yes |
<Response><ResultInfo><Score>64</Score><Name>dog</Name><Location><X>59</X><Y>51</Y><Height>225</Height><Width>175</Width></Location></ResultInfo><ResultInfo>...</ResultInfo></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None. | Container to save results | Container |
Node Name (Keyword) | Parent Node | Description | Type |
ResultInfo | Response | Container to save results | Container |
Score | ResultInfo | Score, ranging from 0 to 100. The higher the value, the more likely the target is to achieve the corresponding result. | int |
Name | ResultInfo | Pet name | string |
Location | ResultInfo | Container for saving pet locations | Container |
X | Location | Coordinates on the X-axis | int |
Y | Location | Coordinates on the y-axis | int |
Height | Location | (x, y) coordinate distance height | int |
Width | Location | (x, y) coordinate distance length | int |
Error Code | Description | HTTP Status Code |
FailedOperation.NoObjectDetected | Target not detected. | 400 Bad Request |
InternalError | File download failed / Other unknown errors | 400 Bad Request |
GET /test.jpg?ci-process=detect-pet HTTP/1.1Authorization: q-sign-algorithm=sha1&q-ak=**********************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=************************************&x-cos-security-token=mUvZ3UZ4XbqDyK6iGsTFBQoHNO*Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.com
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 359Date: Mon, 26 Apr 2021 02:19:16 GMTServer: tencent-imagex-ci-request-id: NjA4NjIzMjNfOTBmYTUwNjRfNjAx****<Response><ResultInfo><Score>64</Score><Name>dog</Name><Location><X>59</X><Y>51</Y><Height>225</Height><Width>175</Width></Location></ResultInfo><ResultInfo><Score>62</Score><Name>dog</Name><Location><X>237</X><Y>60</Y><Height>208</Height><Width>177</Width></Location></ResultInfo></Response>
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan