Mencari klip Aset media gambar wajah (pencarian presisi). Berdasarkan hasil pencarian kasar, mengembalikan informasi tentang klip orang yang terkait dengan wajah dalam Aset media.
Deskripsi operasi
Untuk Penggunaan atau pertanyaan mengenai fitur pencarian Aset media cerdas Alibaba Cloud Intelligent Media Services (IMS), cari kelompok DingTalk (30415005038) untuk bergabung dengan kelompok Tanya Jawab Pelanggan Pencarian Multi-modal IMS dan menghubungi kami.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SearchMediaClipByFace |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SearchLibName |
string |
No |
Nama pustaka pencarian. |
test1 |
| PageNo |
integer |
No |
Nomor halaman saat ini. Nilai default adalah 1. |
1 |
| PageSize |
integer |
No |
Jumlah item data yang dikembalikan per halaman. Nilai default adalah 10, nilai maksimum adalah 50. |
10 |
| EntityId |
string |
No |
ID entitas. |
2d3bf1e35a1e42b5ab338d701efa**** |
| FaceSearchToken |
string |
Yes |
Harus sama dengan nilai FaceSearchToken pada antarmuka pencarian kasar. Parameter ini digunakan untuk menentukan pengembalian pagination pada kondisi pencarian yang sama. |
zxtest-huangxuan-2023-3-7-V1 |
| MediaId |
string |
Yes |
ID Aset media. |
3b187b3620c8490886cfc2a9578c**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
E44FFACD-9E90-555A-A09A-6FD3B7335E39 |
| Success |
string |
Apakah operasi berhasil. true menunjukkan berhasil, false menunjukkan gagal. |
true |
| Code |
string |
Kode pengembalian. |
200 |
| MediaClipList |
array<object> |
Kumpulan klip Aset media yang memenuhi persyaratan. |
|
|
array<object> |
|||
| Score |
number |
Skor klip yang cocok. Tipe float, rentang [0, 1]. |
0.99041677 |
| EntityId |
string |
ID entitas, sesuai dengan ID entitas dalam hasil analisis Label. |
1031025**** |
| LabelName |
string |
Nama entitas. |
张三 |
| OccurrencesInfos |
array<object> |
Informasi Pengelompokan klip orang. |
|
|
array<object> |
|||
| StartTime |
number |
The start time of the clip. Unit: seconds. The value is of the Float type. |
61.066353 |
| EndTime |
number |
The end time of the clip. Unit: seconds. The value is of the Float type. |
69.06635 |
| TrackData |
array<object> |
The information about the face in the clip. |
|
|
array<object> |
|||
| Timestamp |
number |
The timestamp when the face appears in the clip. Unit: seconds. The value is of the Float type. |
62.03302 |
| BoxPosition |
object |
The coordinates of the face. |
|
| X |
integer |
The x-axis coordinate of the upper-left corner. Unit: pixels. |
517 |
| Y |
integer |
The y-axis coordinate of the upper-left corner. Unit: pixels. |
409 |
| W |
integer |
The width of the rectangle frame. Unit: pixels. |
128 |
| H |
integer |
The height of the rectangle frame. Unit: pixels. |
168 |
| Expression |
string |
平静 |
|
| Category |
string |
Tipe orang. Nilai: celebrity — Selebriti sensitive — Orang sensitif politician — Politisi custom — Orang kustom unknown — Orang tidak dikenal. |
celebrity |
| Total |
integer |
Jumlah total klip Aset media yang memenuhi kondisi. |
5 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E44FFACD-9E90-555A-A09A-6FD3B7335E39",
"Success": "true",
"Code": "200",
"MediaClipList": [
{
"Score": 0.99041677,
"EntityId": "1031025****",
"LabelName": "张三",
"OccurrencesInfos": [
{
"StartTime": 61.066353,
"EndTime": 69.06635,
"TrackData": [
{
"Timestamp": 62.03302,
"BoxPosition": {
"X": 517,
"Y": 409,
"W": 128,
"H": 168
}
}
],
"Expression": "平静"
}
],
"Category": "celebrity"
}
],
"Total": 5
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.