Detects vehicle outline data, attributes (CarColor, CarType), and license plate information (Content, Boundary) in an image.
Operation description
-
Supported image encoding formats are listed in Limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DetectImageCars |
none |
*Project
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name. To obtain the name, call CreateProject. |
test-project |
| SourceURI |
string |
Yes |
The OSS URI of the image file. Format: oss://${Bucket}/${Object}. |
oss://test-bucket/test-object.jpg |
| CredentialConfig | CredentialConfig |
No |
Leave empty unless you have specific requirements. The optional authorization chain for cross-entity resource access. Use authorization chains to access resources of other entities. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Cars |
array |
The vehicles. |
|
| Car |
The vehicle. |
||
| RequestId |
string |
The request ID. |
A8745209-DD0E-027E-8ABA-085E0C****** |
Examples
Success response
JSON format
{
"Cars": [
{
"LicensePlates": [
{
"Content": "鲁A8***8",
"Boundary": {
"Width": 200,
"Height": 300,
"Left": 10,
"Top": 30,
"Polygon": [
{
"X": 10,
"Y": 10
}
]
},
"Confidence": 0.789
}
],
"CarType": "van",
"CarTypeConfidence": 0.516,
"CarColor": "white",
"CarColorConfidence": 0.604,
"Boundary": {
"Width": 200,
"Height": 300,
"Left": 10,
"Top": 30,
"Polygon": [
{
"X": 10,
"Y": 10
}
]
},
"Confidence": 0.999
}
],
"RequestId": "A8745209-DD0E-027E-8ABA-085E0C******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.