public void BoundsAnImageInCloud() throws Exception { String fileName = "object_detection_example.jpg"; String method = "ssd"; int threshold = 50; Boolean includeLabel = true; Boolean includeScore = true; String folder = CloudPath; // Input file is saved at the Examples folder in the storage String storage = null; // We are using default Cloud Storage GetObjectBoundsRequest request = new GetObjectBoundsRequest(getSampleImageFileName(), method, threshold, includeLabel, includeScore, folder, storage); DetectedObjectList detectedObjectsList = ImagingApi.getObjectBounds(request); }