你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Trainings Interface
public interface Trainings
An instance of this class provides access to all the operations defined in Trainings.
Method Summary
Modifier and Type | Method and Description |
---|---|
TrainingsCreateImageRegionsDefinitionStages.WithProjectId |
createImageRegions()
Create a set of image regions. This API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch. |
Image |
createImageRegions(UUID projectId, CreateImageRegionsOptionalParameter createImageRegionsOptionalParameter)
Create a set of image regions. This API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch. |
Observable<Image |
createImageRegionsAsync(UUID projectId, CreateImageRegionsOptionalParameter createImageRegionsOptionalParameter)
Create a set of image regions. This API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch. |
TrainingsCreateImagesFromDataDefinitionStages.WithProjectId |
createImagesFromData()
Add the provided images to the set of training images. This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files. |
Image |
createImagesFromData(UUID projectId, byte[] imageData, CreateImagesFromDataOptionalParameter createImagesFromDataOptionalParameter)
Add the provided images to the set of training images. This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files. |
Observable<Image |
createImagesFromDataAsync(UUID projectId, byte[] imageData, CreateImagesFromDataOptionalParameter createImagesFromDataOptionalParameter)
Add the provided images to the set of training images. This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files. |
Image |
createImagesFromFiles(UUID projectId, ImageFileCreateBatch batch)
Add the provided batch of images to the set of training images. This API accepts a batch of files, and optionally tags, to create images. There is a limit of 64 images and 20 tags. |
Observable<Image |
createImagesFromFilesAsync(UUID projectId, ImageFileCreateBatch batch)
Add the provided batch of images to the set of training images. This API accepts a batch of files, and optionally tags, to create images. There is a limit of 64 images and 20 tags. |
Image |
createImagesFromPredictions(UUID projectId, ImageIdCreateBatch batch)
Add the specified predicted images to the set of training images. This API creates a batch of images from predicted images specified. There is a limit of 64 images and 20 tags. |
Observable<Image |
createImagesFromPredictionsAsync(UUID projectId, ImageIdCreateBatch batch)
Add the specified predicted images to the set of training images. This API creates a batch of images from predicted images specified. There is a limit of 64 images and 20 tags. |
Image |
createImagesFromUrls(UUID projectId, ImageUrlCreateBatch batch)
Add the provided images urls to the set of training images. This API accepts a batch of urls, and optionally tags, to create images. There is a limit of 64 images and 20 tags. |
Observable<Image |
createImagesFromUrlsAsync(UUID projectId, ImageUrlCreateBatch batch)
Add the provided images urls to the set of training images. This API accepts a batch of urls, and optionally tags, to create images. There is a limit of 64 images and 20 tags. |
TrainingsCreateImageTagsDefinitionStages.WithProjectId |
createImageTags()
Associate a set of images with a set of tags. |
Image |
createImageTags(UUID projectId, CreateImageTagsOptionalParameter createImageTagsOptionalParameter)
Associate a set of images with a set of tags. |
Observable<Image |
createImageTagsAsync(UUID projectId, CreateImageTagsOptionalParameter createImageTagsOptionalParameter)
Associate a set of images with a set of tags. |
TrainingsCreateProjectDefinitionStages.WithName |
createProject()
Create a project. |
Project |
createProject(String name, CreateProjectOptionalParameter createProjectOptionalParameter)
Create a project. |
Observable<Project> |
createProjectAsync(String name, CreateProjectOptionalParameter createProjectOptionalParameter)
Create a project. |
TrainingsCreateTagDefinitionStages.WithProjectId |
createTag()
Create a tag for the project. |
Tag |
createTag(UUID projectId, String name, CreateTagOptionalParameter createTagOptionalParameter)
Create a tag for the project. |
Observable<Tag> |
createTagAsync(UUID projectId, String name, CreateTagOptionalParameter createTagOptionalParameter)
Create a tag for the project. |
void |
deleteImageRegions(UUID projectId, List<UUID> regionIds)
Delete a set of image regions. |
Observable<Void> |
deleteImageRegionsAsync(UUID projectId, List<UUID> regionIds)
Delete a set of image regions. |
void |
deleteImages(UUID projectId, List<UUID> imageIds)
Delete images from the set of training images. |
Observable<Void> |
deleteImagesAsync(UUID projectId, List<UUID> imageIds)
Delete images from the set of training images. |
void |
deleteImageTags(UUID projectId, List<UUID> imageIds, List<UUID> tagIds)
Remove a set of tags from a set of images. |
Observable<Void> |
deleteImageTagsAsync(UUID projectId, List<UUID> imageIds, List<UUID> tagIds)
Remove a set of tags from a set of images. |
void |
deleteIteration(UUID projectId, UUID iterationId)
Delete a specific iteration of a project. |
Observable<Void> |
deleteIterationAsync(UUID projectId, UUID iterationId)
Delete a specific iteration of a project. |
void |
deletePrediction(UUID projectId, List<UUID> ids)
Delete a set of predicted images and their associated prediction results. |
Observable<Void> |
deletePredictionAsync(UUID projectId, List<UUID> ids)
Delete a set of predicted images and their associated prediction results. |
void |
deleteProject(UUID projectId)
Delete a specific project. |
Observable<Void> |
deleteProjectAsync(UUID projectId)
Delete a specific project. |
void |
deleteTag(UUID projectId, UUID tagId)
Delete a tag from the project. |
Observable<Void> |
deleteTagAsync(UUID projectId, UUID tagId)
Delete a tag from the project. |
TrainingsExportIterationDefinitionStages.WithProjectId |
exportIteration()
Export a trained iteration. |
Export |
exportIteration(UUID projectId, UUID iterationId, String platform, ExportIterationOptionalParameter exportIterationOptionalParameter)
Export a trained iteration. |
Observable<Export> |
exportIterationAsync(UUID projectId, UUID iterationId, String platform, ExportIterationOptionalParameter exportIterationOptionalParameter)
Export a trained iteration. |
Domain |
getDomain(UUID domainId)
Get information about a specific domain. |
Observable<Domain> |
getDomainAsync(UUID domainId)
Get information about a specific domain. |
List<Domain> |
getDomains()
Get a list of the available domains. |
Observable<List<Domain>> |
getDomainsAsync()
Get a list of the available domains. |
List<Export> |
getExports(UUID projectId, UUID iterationId)
Get the list of exports for a specific iteration. |
Observable<List<Export>> |
getExportsAsync(UUID projectId, UUID iterationId)
Get the list of exports for a specific iteration. |
TrainingsGetImagePerformanceCountDefinitionStages.WithProjectId |
getImagePerformanceCount()
Gets the number of images tagged with the provided {tagIds} that have prediction results from training for the provided iteration {iterationId}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
int |
getImagePerformanceCount(UUID projectId, UUID iterationId, GetImagePerformanceCountOptionalParameter getImagePerformanceCountOptionalParameter)
Gets the number of images tagged with the provided {tagIds} that have prediction results from training for the provided iteration {iterationId}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
Observable<Integer> |
getImagePerformanceCountAsync(UUID projectId, UUID iterationId, GetImagePerformanceCountOptionalParameter getImagePerformanceCountOptionalParameter)
Gets the number of images tagged with the provided {tagIds} that have prediction results from training for the provided iteration {iterationId}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
TrainingsGetImagePerformancesDefinitionStages.WithProjectId |
getImagePerformances()
Get image with its prediction for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
List<Image |
getImagePerformances(UUID projectId, UUID iterationId, GetImagePerformancesOptionalParameter getImagePerformancesOptionalParameter)
Get image with its prediction for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
Observable<List<Image |
getImagePerformancesAsync(UUID projectId, UUID iterationId, GetImagePerformancesOptionalParameter getImagePerformancesOptionalParameter)
Get image with its prediction for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
Image |
getImageRegionProposals(UUID projectId, UUID imageId)
Get region proposals for an image. Returns empty array if no proposals are found. This API will get region proposals for an image along with confidences for the region. It returns an empty array if no proposals are found. |
Observable<Image |
getImageRegionProposalsAsync(UUID projectId, UUID imageId)
Get region proposals for an image. Returns empty array if no proposals are found. This API will get region proposals for an image along with confidences for the region. It returns an empty array if no proposals are found. |
TrainingsGetImagesByIdsDefinitionStages.WithProjectId |
getImagesByIds()
Get images by id for a given project iteration. This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used. |
List<Image> |
getImagesByIds(UUID projectId, GetImagesByIdsOptionalParameter getImagesByIdsOptionalParameter)
Get images by id for a given project iteration. This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used. |
Observable<List<Image>> |
getImagesByIdsAsync(UUID projectId, GetImagesByIdsOptionalParameter getImagesByIdsOptionalParameter)
Get images by id for a given project iteration. This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used. |
Iteration |
getIteration(UUID projectId, UUID iterationId)
Get a specific iteration. |
Observable<Iteration> |
getIterationAsync(UUID projectId, UUID iterationId)
Get a specific iteration. |
TrainingsGetIterationPerformanceDefinitionStages.WithProjectId |
getIterationPerformance()
Get detailed performance information about an iteration. |
Iteration |
getIterationPerformance(UUID projectId, UUID iterationId, GetIterationPerformanceOptionalParameter getIterationPerformanceOptionalParameter)
Get detailed performance information about an iteration. |
Observable<Iteration |
getIterationPerformanceAsync(UUID projectId, UUID iterationId, GetIterationPerformanceOptionalParameter getIterationPerformanceOptionalParameter)
Get detailed performance information about an iteration. |
List<Iteration> |
getIterations(UUID projectId)
Get iterations for the project. |
Observable<List<Iteration>> |
getIterationsAsync(UUID projectId)
Get iterations for the project. |
Project |
getProject(UUID projectId)
Get a specific project. |
Observable<Project> |
getProjectAsync(UUID projectId)
Get a specific project. |
List<Project> |
getProjects()
Get your projects. |
Observable<List<Project>> |
getProjectsAsync()
Get your projects. |
TrainingsGetTagDefinitionStages.WithProjectId |
getTag()
Get information about a specific tag. |
Tag |
getTag(UUID projectId, UUID tagId, GetTagOptionalParameter getTagOptionalParameter)
Get information about a specific tag. |
Observable<Tag> |
getTagAsync(UUID projectId, UUID tagId, GetTagOptionalParameter getTagOptionalParameter)
Get information about a specific tag. |
TrainingsGetTaggedImageCountDefinitionStages.WithProjectId |
getTaggedImageCount()
Gets the number of images tagged with the provided {tagIds}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
int |
getTaggedImageCount(UUID projectId, GetTaggedImageCountOptionalParameter getTaggedImageCountOptionalParameter)
Gets the number of images tagged with the provided {tagIds}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
Observable<Integer> |
getTaggedImageCountAsync(UUID projectId, GetTaggedImageCountOptionalParameter getTaggedImageCountOptionalParameter)
Gets the number of images tagged with the provided {tagIds}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
TrainingsGetTaggedImagesDefinitionStages.WithProjectId |
getTaggedImages()
Get tagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
List<Image> |
getTaggedImages(UUID projectId, GetTaggedImagesOptionalParameter getTaggedImagesOptionalParameter)
Get tagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
Observable<List<Image>> |
getTaggedImagesAsync(UUID projectId, GetTaggedImagesOptionalParameter getTaggedImagesOptionalParameter)
Get tagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned. |
TrainingsGetTagsDefinitionStages.WithProjectId |
getTags()
Get the tags for a given project and iteration. |
List<Tag> |
getTags(UUID projectId, GetTagsOptionalParameter getTagsOptionalParameter)
Get the tags for a given project and iteration. |
Observable<List<Tag>> |
getTagsAsync(UUID projectId, GetTagsOptionalParameter getTagsOptionalParameter)
Get the tags for a given project and iteration. |
TrainingsGetUntaggedImageCountDefinitionStages.WithProjectId |
getUntaggedImageCount()
Gets the number of untagged images. This API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the current workspace is used. |
int |
getUntaggedImageCount(UUID projectId, GetUntaggedImageCountOptionalParameter getUntaggedImageCountOptionalParameter)
Gets the number of untagged images. This API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the current workspace is used. |
Observable<Integer> |
getUntaggedImageCountAsync(UUID projectId, GetUntaggedImageCountOptionalParameter getUntaggedImageCountOptionalParameter)
Gets the number of untagged images. This API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the current workspace is used. |
TrainingsGetUntaggedImagesDefinitionStages.WithProjectId |
getUntaggedImages()
Get untagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. |
List<Image> |
getUntaggedImages(UUID projectId, GetUntaggedImagesOptionalParameter getUntaggedImagesOptionalParameter)
Get untagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. |
Observable<List<Image>> |
getUntaggedImagesAsync(UUID projectId, GetUntaggedImagesOptionalParameter getUntaggedImagesOptionalParameter)
Get untagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. |
boolean |
publishIteration(UUID projectId, UUID iterationId, String publishName, String predictionId)
Publish a specific iteration. |
Observable<Boolean> |
publishIterationAsync(UUID projectId, UUID iterationId, String publishName, String predictionId)
Publish a specific iteration. |
Prediction |
queryPredictions(UUID projectId, PredictionQueryToken query)
Get images that were sent to your prediction endpoint. |
Observable<Prediction |
queryPredictionsAsync(UUID projectId, PredictionQueryToken query)
Get images that were sent to your prediction endpoint. |
TrainingsQuickTestImageDefinitionStages.WithProjectId |
quickTestImage()
Quick test an image. |
Image |
quickTestImage(UUID projectId, byte[] imageData, QuickTestImageOptionalParameter quickTestImageOptionalParameter)
Quick test an image. |
Observable<Image |
quickTestImageAsync(UUID projectId, byte[] imageData, QuickTestImageOptionalParameter quickTestImageOptionalParameter)
Quick test an image. |
TrainingsQuickTestImageUrlDefinitionStages.WithProjectId |
quickTestImageUrl()
Quick test an image url. |
Image |
quickTestImageUrl(UUID projectId, String url, QuickTestImageUrlOptionalParameter quickTestImageUrlOptionalParameter)
Quick test an image url. |
Observable<Image |
quickTestImageUrlAsync(UUID projectId, String url, QuickTestImageUrlOptionalParameter quickTestImageUrlOptionalParameter)
Quick test an image url. |
TrainingsTrainProjectDefinitionStages.WithProjectId |
trainProject()
Queues project for training. |
Iteration |
trainProject(UUID projectId, TrainProjectOptionalParameter trainProjectOptionalParameter)
Queues project for training. |
Observable<Iteration> |
trainProjectAsync(UUID projectId, TrainProjectOptionalParameter trainProjectOptionalParameter)
Queues project for training. |
void |
unpublishIteration(UUID projectId, UUID iterationId)
Unpublish a specific iteration. |
Observable<Void> |
unpublishIterationAsync(UUID projectId, UUID iterationId)
Unpublish a specific iteration. |
Iteration |
updateIteration(UUID projectId, UUID iterationId, String name)
Update a specific iteration. |
Observable<Iteration> |
updateIterationAsync(UUID projectId, UUID iterationId, String name)
Update a specific iteration. |
Project |
updateProject(UUID projectId, Project updatedProject)
Update a specific project. |
Observable<Project> |
updateProjectAsync(UUID projectId, Project updatedProject)
Update a specific project. |
Tag |
updateTag(UUID projectId, UUID tagId, Tag updatedTag)
Update a tag. |
Observable<Tag> |
updateTagAsync(UUID projectId, UUID tagId, Tag updatedTag)
Update a tag. |
Method Details
createImageRegions
public TrainingsCreateImageRegionsDefinitionStages.WithProjectId createImageRegions()
Create a set of image regions. This API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch.
Returns:
createImageRegions
public ImageRegionCreateSummary createImageRegions(UUID projectId, CreateImageRegionsOptionalParameter createImageRegionsOptionalParameter)
Create a set of image regions. This API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch.
Parameters:
Returns:
Throws:
createImageRegionsAsync
public Observable
Create a set of image regions. This API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch.
Parameters:
Returns:
Throws:
createImagesFromData
public TrainingsCreateImagesFromDataDefinitionStages.WithProjectId createImagesFromData()
Add the provided images to the set of training images. This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files.
Returns:
createImagesFromData
public ImageCreateSummary createImagesFromData(UUID projectId, byte[] imageData, CreateImagesFromDataOptionalParameter createImagesFromDataOptionalParameter)
Add the provided images to the set of training images. This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files.
Parameters:
Returns:
Throws:
createImagesFromDataAsync
public Observable
Add the provided images to the set of training images. This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files.
Parameters:
Returns:
Throws:
createImagesFromFiles
public ImageCreateSummary createImagesFromFiles(UUID projectId, ImageFileCreateBatch batch)
Add the provided batch of images to the set of training images. This API accepts a batch of files, and optionally tags, to create images. There is a limit of 64 images and 20 tags.
Parameters:
Returns:
Throws:
createImagesFromFilesAsync
public Observable
Add the provided batch of images to the set of training images. This API accepts a batch of files, and optionally tags, to create images. There is a limit of 64 images and 20 tags.
Parameters:
Returns:
Throws:
createImagesFromPredictions
public ImageCreateSummary createImagesFromPredictions(UUID projectId, ImageIdCreateBatch batch)
Add the specified predicted images to the set of training images. This API creates a batch of images from predicted images specified. There is a limit of 64 images and 20 tags.
Parameters:
Returns:
Throws:
createImagesFromPredictionsAsync
public Observable
Add the specified predicted images to the set of training images. This API creates a batch of images from predicted images specified. There is a limit of 64 images and 20 tags.
Parameters:
Returns:
Throws:
createImagesFromUrls
public ImageCreateSummary createImagesFromUrls(UUID projectId, ImageUrlCreateBatch batch)
Add the provided images urls to the set of training images. This API accepts a batch of urls, and optionally tags, to create images. There is a limit of 64 images and 20 tags.
Parameters:
Returns:
Throws:
createImagesFromUrlsAsync
public Observable
Add the provided images urls to the set of training images. This API accepts a batch of urls, and optionally tags, to create images. There is a limit of 64 images and 20 tags.
Parameters:
Returns:
Throws:
createImageTags
public TrainingsCreateImageTagsDefinitionStages.WithProjectId createImageTags()
Associate a set of images with a set of tags.
Returns:
createImageTags
public ImageTagCreateSummary createImageTags(UUID projectId, CreateImageTagsOptionalParameter createImageTagsOptionalParameter)
Associate a set of images with a set of tags.
Parameters:
Returns:
Throws:
createImageTagsAsync
public Observable
Associate a set of images with a set of tags.
Parameters:
Returns:
Throws:
createProject
public TrainingsCreateProjectDefinitionStages.WithName createProject()
Create a project.
Returns:
createProject
public Project createProject(String name, CreateProjectOptionalParameter createProjectOptionalParameter)
Create a project.
Parameters:
Returns:
Throws:
createProjectAsync
public Observable
Create a project.
Parameters:
Returns:
Throws:
createTag
public TrainingsCreateTagDefinitionStages.WithProjectId createTag()
Create a tag for the project.
Returns:
createTag
public Tag createTag(UUID projectId, String name, CreateTagOptionalParameter createTagOptionalParameter)
Create a tag for the project.
Parameters:
Returns:
Throws:
createTagAsync
public Observable
Create a tag for the project.
Parameters:
Returns:
Throws:
deleteImageRegions
public void deleteImageRegions(UUID projectId, List
Delete a set of image regions.
Parameters:
Throws:
deleteImageRegionsAsync
public Observable
Delete a set of image regions.
Parameters:
Returns:
Throws:
deleteImages
public void deleteImages(UUID projectId, List
Delete images from the set of training images.
Parameters:
Throws:
deleteImagesAsync
public Observable
Delete images from the set of training images.
Parameters:
Returns:
Throws:
deleteImageTags
public void deleteImageTags(UUID projectId, List
Remove a set of tags from a set of images.
Parameters:
Throws:
deleteImageTagsAsync
public Observable
Remove a set of tags from a set of images.
Parameters:
Returns:
Throws:
deleteIteration
public void deleteIteration(UUID projectId, UUID iterationId)
Delete a specific iteration of a project.
Parameters:
Throws:
deleteIterationAsync
public Observable
Delete a specific iteration of a project.
Parameters:
Returns:
Throws:
deletePrediction
public void deletePrediction(UUID projectId, List
Delete a set of predicted images and their associated prediction results.
Parameters:
Throws:
deletePredictionAsync
public Observable
Delete a set of predicted images and their associated prediction results.
Parameters:
Returns:
Throws:
deleteProject
public void deleteProject(UUID projectId)
Delete a specific project.
Parameters:
Throws:
deleteProjectAsync
public Observable
Delete a specific project.
Parameters:
Returns:
Throws:
deleteTag
public void deleteTag(UUID projectId, UUID tagId)
Delete a tag from the project.
Parameters:
Throws:
deleteTagAsync
public Observable
Delete a tag from the project.
Parameters:
Returns:
Throws:
exportIteration
public TrainingsExportIterationDefinitionStages.WithProjectId exportIteration()
Export a trained iteration.
Returns:
exportIteration
public Export exportIteration(UUID projectId, UUID iterationId, String platform, ExportIterationOptionalParameter exportIterationOptionalParameter)
Export a trained iteration.
Parameters:
Returns:
Throws:
exportIterationAsync
public Observable
Export a trained iteration.
Parameters:
Returns:
Throws:
getDomain
public Domain getDomain(UUID domainId)
Get information about a specific domain.
Parameters:
Returns:
Throws:
getDomainAsync
public Observable
Get information about a specific domain.
Parameters:
Returns:
Throws:
getDomains
public List
Get a list of the available domains.
Returns:
Throws:
getDomainsAsync
public Observable> getDomainsAsync()
Get a list of the available domains.
Returns:
Throws:
getExports
public List
Get the list of exports for a specific iteration.
Parameters:
Returns:
Throws:
getExportsAsync
public Observable> getExportsAsync(UUID projectId, UUID iterationId)
Get the list of exports for a specific iteration.
Parameters:
Returns:
Throws:
getImagePerformanceCount
public TrainingsGetImagePerformanceCountDefinitionStages.WithProjectId getImagePerformanceCount()
Gets the number of images tagged with the provided {tagIds} that have prediction results from training for the provided iteration {iterationId}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Returns:
getImagePerformanceCount
public int getImagePerformanceCount(UUID projectId, UUID iterationId, GetImagePerformanceCountOptionalParameter getImagePerformanceCountOptionalParameter)
Gets the number of images tagged with the provided {tagIds} that have prediction results from training for the provided iteration {iterationId}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getImagePerformanceCountAsync
public Observable
Gets the number of images tagged with the provided {tagIds} that have prediction results from training for the provided iteration {iterationId}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getImagePerformances
public TrainingsGetImagePerformancesDefinitionStages.WithProjectId getImagePerformances()
Get image with its prediction for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Returns:
getImagePerformances
public List
Get image with its prediction for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getImagePerformancesAsync
public Observable> getImagePerformancesAsync(UUID projectId, UUID iterationId, GetImagePerformancesOptionalParameter getImagePerformancesOptionalParameter)
Get image with its prediction for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getImageRegionProposals
public ImageRegionProposal getImageRegionProposals(UUID projectId, UUID imageId)
Get region proposals for an image. Returns empty array if no proposals are found. This API will get region proposals for an image along with confidences for the region. It returns an empty array if no proposals are found.
Parameters:
Returns:
Throws:
getImageRegionProposalsAsync
public Observable
Get region proposals for an image. Returns empty array if no proposals are found. This API will get region proposals for an image along with confidences for the region. It returns an empty array if no proposals are found.
Parameters:
Returns:
Throws:
getImagesByIds
public TrainingsGetImagesByIdsDefinitionStages.WithProjectId getImagesByIds()
Get images by id for a given project iteration. This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used.
Returns:
getImagesByIds
public List getImagesByIds(UUID projectId, GetImagesByIdsOptionalParameter getImagesByIdsOptionalParameter)
Get images by id for a given project iteration. This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used.
Parameters:
Returns:
Throws:
getImagesByIdsAsync
public Observable> getImagesByIdsAsync(UUID projectId, GetImagesByIdsOptionalParameter getImagesByIdsOptionalParameter)
Get images by id for a given project iteration. This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used.
Parameters:
Returns:
Throws:
getIteration
public Iteration getIteration(UUID projectId, UUID iterationId)
Get a specific iteration.
Parameters:
Returns:
Throws:
getIterationAsync
public Observable
Get a specific iteration.
Parameters:
Returns:
Throws:
getIterationPerformance
public TrainingsGetIterationPerformanceDefinitionStages.WithProjectId getIterationPerformance()
Get detailed performance information about an iteration.
Returns:
getIterationPerformance
public IterationPerformance getIterationPerformance(UUID projectId, UUID iterationId, GetIterationPerformanceOptionalParameter getIterationPerformanceOptionalParameter)
Get detailed performance information about an iteration.
Parameters:
Returns:
Throws:
getIterationPerformanceAsync
public Observable
Get detailed performance information about an iteration.
Parameters:
Returns:
Throws:
getIterations
public List
Get iterations for the project.
Parameters:
Returns:
Throws:
getIterationsAsync
public Observable> getIterationsAsync(UUID projectId)
Get iterations for the project.
Parameters:
Returns:
Throws:
getProject
public Project getProject(UUID projectId)
Get a specific project.
Parameters:
Returns:
Throws:
getProjectAsync
public Observable
Get a specific project.
Parameters:
Returns:
Throws:
getProjects
public List
Get your projects.
Returns:
Throws:
getProjectsAsync
public Observable> getProjectsAsync()
Get your projects.
Returns:
Throws:
getTag
public TrainingsGetTagDefinitionStages.WithProjectId getTag()
Get information about a specific tag.
Returns:
getTag
public Tag getTag(UUID projectId, UUID tagId, GetTagOptionalParameter getTagOptionalParameter)
Get information about a specific tag.
Parameters:
Returns:
Throws:
getTagAsync
public Observable
Get information about a specific tag.
Parameters:
Returns:
Throws:
getTaggedImageCount
public TrainingsGetTaggedImageCountDefinitionStages.WithProjectId getTaggedImageCount()
Gets the number of images tagged with the provided {tagIds}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Returns:
getTaggedImageCount
public int getTaggedImageCount(UUID projectId, GetTaggedImageCountOptionalParameter getTaggedImageCountOptionalParameter)
Gets the number of images tagged with the provided {tagIds}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getTaggedImageCountAsync
public Observable
Gets the number of images tagged with the provided {tagIds}. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getTaggedImages
public TrainingsGetTaggedImagesDefinitionStages.WithProjectId getTaggedImages()
Get tagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Returns:
getTaggedImages
public List getTaggedImages(UUID projectId, GetTaggedImagesOptionalParameter getTaggedImagesOptionalParameter)
Get tagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getTaggedImagesAsync
public Observable> getTaggedImagesAsync(UUID projectId, GetTaggedImagesOptionalParameter getTaggedImagesOptionalParameter)
Get tagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned.
Parameters:
Returns:
Throws:
getTags
public TrainingsGetTagsDefinitionStages.WithProjectId getTags()
Get the tags for a given project and iteration.
Returns:
getTags
public List
Get the tags for a given project and iteration.
Parameters:
Returns:
Throws:
getTagsAsync
public Observable> getTagsAsync(UUID projectId, GetTagsOptionalParameter getTagsOptionalParameter)
Get the tags for a given project and iteration.
Parameters:
Returns:
Throws:
getUntaggedImageCount
public TrainingsGetUntaggedImageCountDefinitionStages.WithProjectId getUntaggedImageCount()
Gets the number of untagged images. This API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the current workspace is used.
Returns:
getUntaggedImageCount
public int getUntaggedImageCount(UUID projectId, GetUntaggedImageCountOptionalParameter getUntaggedImageCountOptionalParameter)
Gets the number of untagged images. This API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the current workspace is used.
Parameters:
Returns:
Throws:
getUntaggedImageCountAsync
public Observable
Gets the number of untagged images. This API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the current workspace is used.
Parameters:
Returns:
Throws:
getUntaggedImages
public TrainingsGetUntaggedImagesDefinitionStages.WithProjectId getUntaggedImages()
Get untagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch.
Returns:
getUntaggedImages
public List getUntaggedImages(UUID projectId, GetUntaggedImagesOptionalParameter getUntaggedImagesOptionalParameter)
Get untagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch.
Parameters:
Returns:
Throws:
getUntaggedImagesAsync
public Observable> getUntaggedImagesAsync(UUID projectId, GetUntaggedImagesOptionalParameter getUntaggedImagesOptionalParameter)
Get untagged images for a given project iteration. This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch.
Parameters:
Returns:
Throws:
publishIteration
public boolean publishIteration(UUID projectId, UUID iterationId, String publishName, String predictionId)
Publish a specific iteration.
Parameters:
Returns:
Throws:
publishIterationAsync
public Observable
Publish a specific iteration.
Parameters:
Returns:
Throws:
queryPredictions
public PredictionQueryResult queryPredictions(UUID projectId, PredictionQueryToken query)
Get images that were sent to your prediction endpoint.
Parameters:
Returns:
Throws:
queryPredictionsAsync
public Observable
Get images that were sent to your prediction endpoint.
Parameters:
Returns:
Throws:
quickTestImage
public TrainingsQuickTestImageDefinitionStages.WithProjectId quickTestImage()
Quick test an image.
Returns:
quickTestImage
public ImagePrediction quickTestImage(UUID projectId, byte[] imageData, QuickTestImageOptionalParameter quickTestImageOptionalParameter)
Quick test an image.
Parameters:
Returns:
Throws:
quickTestImageAsync
public Observable
Quick test an image.
Parameters:
Returns:
Throws:
quickTestImageUrl
public TrainingsQuickTestImageUrlDefinitionStages.WithProjectId quickTestImageUrl()
Quick test an image url.
Returns:
quickTestImageUrl
public ImagePrediction quickTestImageUrl(UUID projectId, String url, QuickTestImageUrlOptionalParameter quickTestImageUrlOptionalParameter)
Quick test an image url.
Parameters:
Returns:
Throws:
quickTestImageUrlAsync
public Observable
Quick test an image url.
Parameters:
Returns:
Throws:
trainProject
public TrainingsTrainProjectDefinitionStages.WithProjectId trainProject()
Queues project for training.
Returns:
trainProject
public Iteration trainProject(UUID projectId, TrainProjectOptionalParameter trainProjectOptionalParameter)
Queues project for training.
Parameters:
Returns:
Throws:
trainProjectAsync
public Observable
Queues project for training.
Parameters:
Returns:
Throws:
unpublishIteration
public void unpublishIteration(UUID projectId, UUID iterationId)
Unpublish a specific iteration.
Parameters:
Throws:
unpublishIterationAsync
public Observable
Unpublish a specific iteration.
Parameters:
Returns:
Throws:
updateIteration
public Iteration updateIteration(UUID projectId, UUID iterationId, String name)
Update a specific iteration.
Parameters:
Returns:
Throws:
updateIterationAsync
public Observable
Update a specific iteration.
Parameters:
Returns:
Throws:
updateProject
public Project updateProject(UUID projectId, Project updatedProject)
Update a specific project.
Parameters:
Returns:
Throws:
updateProjectAsync
public Observable
Update a specific project.
Parameters:
Returns:
Throws:
updateTag
public Tag updateTag(UUID projectId, UUID tagId, Tag updatedTag)
Update a tag.
Parameters:
Returns:
Throws:
updateTagAsync
public Observable
Update a tag.
Parameters:
Returns:
Throws: