Mendeteksi informasi tubuh manusia dalam gambar, seperti tingkat kepercayaan (confidence level) dan kotak pembatas (bounding box).
Deskripsi operasi
Sebelum memanggil operasi ini, pastikan proyek Intelligent Media Management (IMM) telah dibuat. Untuk informasi tentang cara membuat proyek, lihat CreateProject.
Untuk informasi mengenai format encoding gambar yang didukung oleh operasi ini, lihat Limits on images.
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. Anda dapat memperoleh nama proyek dari respons operasi CreateProject. |
test-project |
| SourceURI |
string |
No |
URI bucket Object Storage Service (OSS) tempat file gambar disimpan. Tentukan nilai dalam format oss://${Bucket}/${Object}. |
oss://test-bucket/test-object.jpg |
| Sensitivity |
number |
No |
Tingkat akurasi deteksi dan pengenalan konten tertentu dalam gambar. Nilai yang valid: 0 hingga 1. Nilai default: 0,6. Sensitivitas yang lebih tinggi berarti lebih banyak detail gambar dapat dideteksi. |
0.6 |
| CredentialConfig | CredentialConfig |
No |
Jika tidak ada persyaratan khusus, biarkan parameter ini kosong. Pengaturan rantai otorisasi. Untuk informasi selengkapnya, lihat Use authorization chains to access resources of other entities. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| Bodies |
array |
Tubuh manusia. |
|
| Body |
Detail tubuh manusia. |
||
| 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.