Predictions Interface
public interface Predictions
An instance of this class provides access to all the operations defined in Predictions.
Method Summary
Method Details
classifyImage
public PredictionsClassifyImageDefinitionStages.WithProjectId classifyImage()
Classify an image and saves the result.
Returns:
classifyImage
public ImagePrediction classifyImage(UUID projectId, String publishedName, byte[] imageData, ClassifyImageOptionalParameter classifyImageOptionalParameter)
Classify an image and saves the result.
Parameters:
Returns:
Throws:
classifyImageAsync
public Observable
Classify an image and saves the result.
Parameters:
Returns:
Throws:
classifyImageUrl
public PredictionsClassifyImageUrlDefinitionStages.WithProjectId classifyImageUrl()
Classify an image url and saves the result.
Returns:
classifyImageUrl
public ImagePrediction classifyImageUrl(UUID projectId, String publishedName, String url, ClassifyImageUrlOptionalParameter classifyImageUrlOptionalParameter)
Classify an image url and saves the result.
Parameters:
Returns:
Throws:
classifyImageUrlAsync
public Observable
Classify an image url and saves the result.
Parameters:
Returns:
Throws:
classifyImageUrlWithNoStore
public PredictionsClassifyImageUrlWithNoStoreDefinitionStages.WithProjectId classifyImageUrlWithNoStore()
Classify an image url without saving the result.
Returns:
classifyImageUrlWithNoStore
public ImagePrediction classifyImageUrlWithNoStore(UUID projectId, String publishedName, String url, ClassifyImageUrlWithNoStoreOptionalParameter classifyImageUrlWithNoStoreOptionalParameter)
Classify an image url without saving the result.
Parameters:
Returns:
Throws:
classifyImageUrlWithNoStoreAsync
public Observable
Classify an image url without saving the result.
Parameters:
Returns:
Throws:
classifyImageWithNoStore
public PredictionsClassifyImageWithNoStoreDefinitionStages.WithProjectId classifyImageWithNoStore()
Classify an image without saving the result.
Returns:
classifyImageWithNoStore
public ImagePrediction classifyImageWithNoStore(UUID projectId, String publishedName, byte[] imageData, ClassifyImageWithNoStoreOptionalParameter classifyImageWithNoStoreOptionalParameter)
Classify an image without saving the result.
Parameters:
Returns:
Throws:
classifyImageWithNoStoreAsync
public Observable
Classify an image without saving the result.
Parameters:
Returns:
Throws:
detectImage
public PredictionsDetectImageDefinitionStages.WithProjectId detectImage()
Detect objects in an image and saves the result.
Returns:
detectImage
public ImagePrediction detectImage(UUID projectId, String publishedName, byte[] imageData, DetectImageOptionalParameter detectImageOptionalParameter)
Detect objects in an image and saves the result.
Parameters:
Returns:
Throws:
detectImageAsync
public Observable
Detect objects in an image and saves the result.
Parameters:
Returns:
Throws:
detectImageUrl
public PredictionsDetectImageUrlDefinitionStages.WithProjectId detectImageUrl()
Detect objects in an image url and saves the result.
Returns:
detectImageUrl
public ImagePrediction detectImageUrl(UUID projectId, String publishedName, String url, DetectImageUrlOptionalParameter detectImageUrlOptionalParameter)
Detect objects in an image url and saves the result.
Parameters:
Returns:
Throws:
detectImageUrlAsync
public Observable
Detect objects in an image url and saves the result.
Parameters:
Returns:
Throws:
detectImageUrlWithNoStore
public PredictionsDetectImageUrlWithNoStoreDefinitionStages.WithProjectId detectImageUrlWithNoStore()
Detect objects in an image url without saving the result.
Returns:
detectImageUrlWithNoStore
public ImagePrediction detectImageUrlWithNoStore(UUID projectId, String publishedName, String url, DetectImageUrlWithNoStoreOptionalParameter detectImageUrlWithNoStoreOptionalParameter)
Detect objects in an image url without saving the result.
Parameters:
Returns:
Throws:
detectImageUrlWithNoStoreAsync
public Observable
Detect objects in an image url without saving the result.
Parameters:
Returns:
Throws:
detectImageWithNoStore
public PredictionsDetectImageWithNoStoreDefinitionStages.WithProjectId detectImageWithNoStore()
Detect objects in an image without saving the result.
Returns:
detectImageWithNoStore
public ImagePrediction detectImageWithNoStore(UUID projectId, String publishedName, byte[] imageData, DetectImageWithNoStoreOptionalParameter detectImageWithNoStoreOptionalParameter)
Detect objects in an image without saving the result.
Parameters:
Returns:
Throws:
detectImageWithNoStoreAsync
public Observable
Detect objects in an image without saving the result.
Parameters:
Returns:
Throws: