Menambahkan contoh gambar pengenalan atau label teks ke entitas kustom tertentu untuk pengenalan dan pencocokan berikutnya.
Deskripsi operasi
-
Operasi ini saat ini hanya didukung di wilayah China (Beijing), China (Shanghai), China (Hangzhou), dan China (Shenzhen).
-
Batas QPS per pengguna untuk operasi ini adalah 50. Jika batas ini terlampaui, panggilan API akan dibatasi, yang dapat memengaruhi layanan Anda. Lakukan panggilan API dengan frekuensi yang wajar. Untuk informasi lebih lanjut, lihat Batas QPS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:CreateRecognitionSample |
create |
*Semua Sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Algorithm |
string |
Yes |
Jenis pengenalan. Nilai valid:
|
landmark |
| LibId |
string |
Yes |
ID library pengenalan. |
*************24b47865c6************** |
| EntityId |
string |
Yes |
ID entitas. |
**************544cb84754************ |
| ImageUrl |
string |
No |
URL contoh gambar. |
https://example.com/sample.png |
| LabelPrompt |
string |
No |
Prompt teks untuk label kustom. |
Full front view |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| SampleId |
string |
ID contoh yang dibuat. |
**************4d2ba728e2f************** |
| RequestId |
string |
ID permintaan. |
******11-DB8D-4A9A-875B-275798****** |
Contoh
Respons sukses
JSONformat
{
"SampleId": "**************4d2ba728e2f**************",
"RequestId": "******11-DB8D-4A9A-875B-275798******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | errorMsg:%s | |
| 500 | InternalError | errorMsg:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.