Bir görüntüdeki barkodları ve QR kodlarını algılar.
Operation description
Bu işlem tarafından desteklenen görüntü kodlama biçimleri hakkında bilgi almak için Görüntü sınırlamaları sayfasına bakın.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DetectImageCodes |
none |
*Project
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
Projenin adı. Proje adını CreateProject işleminin yanıtından alabilirsiniz. |
test-project |
| SourceURI |
string |
Yes |
Görüntü dosyasının depolandığı Object Storage Service (OSS) bucket'ının URI'si.\n\nDeğeri oss://${Bucket}/${Object} biçiminde belirtin. |
oss://test-bucket/test-object.jpg |
| CredentialConfig | CredentialConfig |
No |
Özel bir gereksiniminiz yoksa bu parametreyi boş bırakın.\n\nYetkilendirme zinciri ayarları. Daha fazla bilgi için Diğer varlıkların kaynaklarına erişmek için yetkilendirme zincirlerini kullanma bölümüne bakın. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| Codes |
array |
Barkodlar veya QR kodları. |
|
| Codes |
Barkod veya QR kodu bilgileri. |
||
| RequestId |
string |
İstek kimliği. |
6E93D6C9-5AC0-49F9-914D-E02678D3**** |
Examples
Success response
JSON format
{
"Codes": [
{
"Content": "https://www.example.com",
"Confidence": 0.9,
"Boundary": {
"Width": 200,
"Height": 300,
"Left": 10,
"Top": 30,
"Polygon": [
{
"X": 10,
"Y": 10
}
]
},
"Type": "qrcode"
}
],
"RequestId": "6E93D6C9-5AC0-49F9-914D-E02678D3****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.