API | Description |
Vehicle and license plate detection | Recognizes vehicles in images. |
DetectCarResponse detectCar(DetectCarRequest request);
//1. Create a job request objectDetectCarRequest request = new DetectCarRequest();//2. Add request parameters as detailed in the API documentation//2.1 Set the request bucketrequest.setBucketName("demobucket-1234567890");//2.2 Set the image location in the bucketrequest.setObjectKey("car.jpg");DetectCarResponse response = client.detectCar(request);
Request
has the following sub-nodes:Node Name (Keyword) | Parent Node | Description | Type | Required |
bucketName | Request | String | Yes | |
objectKey | Request | Location of the image in the bucket | String | Yes |
DetectCarResponse
job result object is returned upon success.CosClientException
or CosServiceException
exception. For more information, see Troubleshooting.
Apakah halaman ini membantu?