Mendeteksi informasi tubuh manusia dalam gambar, termasuk skor kepercayaan dan bounding box.
Deskripsi operasi
Sebelum memanggil operasi ini, pastikan Anda telah membuat proyek di Intelligent Media Management (IMM). Untuk informasi selengkapnya, lihat CreateProject.
Untuk informasi mengenai format pengodean gambar input yang didukung, lihat Image limits.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DetectImageBodies |
none |
*Project
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
Nama proyek. Untuk informasi selengkapnya, lihat CreateProject. |
test-project |
| SourceURI |
string |
No |
URI Object Storage Service (OSS) file. URI OSS mengikuti format oss://${Bucket}/${Object}, di mana |
oss://test-bucket/test-object.jpg |
| Sensitivity |
number |
No |
Sensitivitas. Nilai valid: 0 hingga 1. Nilai default: 0.6. Nilai sensitivitas yang lebih tinggi menghasilkan lebih banyak hasil deteksi. |
0.6 |
| CredentialConfig | CredentialConfig |
No |
Biarkan parameter ini kosong kecuali Anda memiliki persyaratan khusus. Konfigurasi otorisasi Tiongkok. Parameter ini bersifat opsional. Untuk informasi selengkapnya, lihat Use Chinese authorization to access resources of other entities. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil deteksi gambar. |
||
| Bodies |
array |
Daftar informasi tubuh manusia. |
|
| Body |
Detail tubuh manusia yang terdeteksi. |
||
| RequestId |
string |
ID permintaan. |
501339F9-4B70-0CE2-AB8C-866C******** |
Contoh
Respons sukses
JSONformat
{
"Bodies": [
{
"Confidence": 0.82,
"Boundary": {
"Width": 200,
"Height": 300,
"Left": 10,
"Top": 30,
"Polygon": [
{
"X": 10,
"Y": 10
}
]
}
}
],
"RequestId": "501339F9-4B70-0CE2-AB8C-866C********"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.