Versions in this module Expand all Collapse all v48 v48.2.2 Nov 27, 2020 v48.2.1 Nov 27, 2020 Changes in this version + func UserAgent() string + func Version() string + type BaseClient struct + Endpoint string + func New(endpoint string) BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + func (client BaseClient) ClassifyImage(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImagePreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) ClassifyImageResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImageSender(req *http.Request) (*http.Response, error) + func (client BaseClient) ClassifyImageURL(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImageURLPreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) ClassifyImageURLResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImageURLSender(req *http.Request) (*http.Response, error) + func (client BaseClient) ClassifyImageURLWithNoStore(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImageURLWithNoStorePreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) ClassifyImageURLWithNoStoreResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImageURLWithNoStoreSender(req *http.Request) (*http.Response, error) + func (client BaseClient) ClassifyImageWithNoStore(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImageWithNoStorePreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) ClassifyImageWithNoStoreResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) ClassifyImageWithNoStoreSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectImage(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) DetectImagePreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) DetectImageResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) DetectImageSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectImageURL(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) DetectImageURLPreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) DetectImageURLResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) DetectImageURLSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectImageURLWithNoStore(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) DetectImageURLWithNoStorePreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) DetectImageURLWithNoStoreResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) DetectImageURLWithNoStoreSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectImageWithNoStore(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (result ImagePrediction, err error) + func (client BaseClient) DetectImageWithNoStorePreparer(ctx context.Context, projectID uuid.UUID, publishedName string, ...) (*http.Request, error) + func (client BaseClient) DetectImageWithNoStoreResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) DetectImageWithNoStoreSender(req *http.Request) (*http.Response, error) + type BoundingBox struct + Height *float64 + Left *float64 + Top *float64 + Width *float64 + type CustomVisionError struct + Code CustomVisionErrorCodes + Message *string + type CustomVisionErrorCodes string + const BadRequest + const BadRequestCannotMigrateProjectWithName + const BadRequestClassificationTrainingValidationFailed + const BadRequestCustomerManagedKeyRevoked + const BadRequestDetectionTrainingNotAllowNegativeTag + const BadRequestDetectionTrainingValidationFailed + const BadRequestDomainNotSupportedForAdvancedTraining + const BadRequestExceedIterationPerProjectLimit + const BadRequestExceedProjectLimit + const BadRequestExceedTagPerImageLimit + const BadRequestExceedTagPerProjectLimit + const BadRequestExceededBatchSize + const BadRequestExceededQuota + const BadRequestExportAlreadyInProgress + const BadRequestExportPlatformNotSupportedForAdvancedTraining + const BadRequestExportValidationFailed + const BadRequestExportWhileTraining + const BadRequestImageBatch + const BadRequestImageDimensions + const BadRequestImageExceededCount + const BadRequestImageFormat + const BadRequestImageMetadataKey + const BadRequestImageMetadataValue + const BadRequestImageRegions + const BadRequestImageSizeBytes + const BadRequestImageStream + const BadRequestImageTags + const BadRequestImageURL + const BadRequestInvalid + const BadRequestInvalidArtifactURI + const BadRequestInvalidEmailAddress + const BadRequestInvalidIds + const BadRequestInvalidImportToken + const BadRequestInvalidPublishName + const BadRequestInvalidPublishTarget + const BadRequestIterationDescription + const BadRequestIterationIsNotTrained + const BadRequestIterationIsPublished + const BadRequestIterationName + const BadRequestIterationNameNotUnique + const BadRequestIterationNotPublished + const BadRequestIterationValidationFailed + const BadRequestMultiClassClassificationTrainingValidationFailed + const BadRequestMultiLabelClassificationTrainingValidationFailed + const BadRequestMultipleGeneralProductTag + const BadRequestMultipleNegativeTag + const BadRequestNegativeAndRegularTagOnSameImage + const BadRequestNotLimitedTrial + const BadRequestNotSupported + const BadRequestOperationNotSupported + const BadRequestPredictionIdsExceededCount + const BadRequestPredictionIdsMissing + const BadRequestPredictionInvalidApplicationName + const BadRequestPredictionInvalidQueryParameters + const BadRequestPredictionResultsExceededCount + const BadRequestPredictionTagsExceededCount + const BadRequestProjectDescription + const BadRequestProjectDuplicated + const BadRequestProjectImagePreprocessingSettings + const BadRequestProjectName + const BadRequestProjectNameNotUnique + const BadRequestProjectUnknownClassification + const BadRequestProjectUnknownDomain + const BadRequestProjectUnsupportedDomainTypeChange + const BadRequestProjectUnsupportedExportPlatform + const BadRequestRequiredParamIsNull + const BadRequestReservedBudgetInHoursNotEnoughForAdvancedTraining + const BadRequestSubscriptionAPI + const BadRequestTagDescription + const BadRequestTagName + const BadRequestTagNameNotUnique + const BadRequestTagType + const BadRequestTrainingAlreadyInProgress + const BadRequestTrainingNotNeeded + const BadRequestTrainingNotNeededButTrainingPipelineUpdated + const BadRequestTrainingValidationFailed + const BadRequestUnpublishFailed + const BadRequestUnsupportedDomain + const BadRequestWorkspaceCannotBeModified + const BadRequestWorkspaceNotDeletable + const Conflict + const ConflictInvalid + const ErrorExporterInvalidClassifier + const ErrorExporterInvalidFeaturizer + const ErrorExporterInvalidPlatform + const ErrorFeaturizationAugmentationError + const ErrorFeaturizationAugmentationUnavailable + const ErrorFeaturizationInvalidFeaturizer + const ErrorFeaturizationQueueTimeout + const ErrorFeaturizationServiceUnavailable + const ErrorFeaturizationUnrecognizedJob + const ErrorInvalid + const ErrorIterationCopyFailed + const ErrorPrediction + const ErrorPredictionModelNotCached + const ErrorPredictionModelNotFound + const ErrorPredictionServiceUnavailable + const ErrorPredictionStorage + const ErrorPreparePerformanceMigrationFailed + const ErrorProjectExportRequestFailed + const ErrorProjectImportRequestFailed + const ErrorProjectInvalidDomain + const ErrorProjectInvalidPipelineConfiguration + const ErrorProjectInvalidWorkspace + const ErrorProjectTrainingRequestFailed + const ErrorRegionProposal + const ErrorUnknown + const ErrorUnknownBaseModel + const Forbidden + const ForbiddenDRModeEnabled + const ForbiddenInvalid + const ForbiddenUser + const ForbiddenUserDisabled + const ForbiddenUserDoesNotExist + const ForbiddenUserInsufficientCapability + const ForbiddenUserResource + const ForbiddenUserSignupAllowanceExceeded + const ForbiddenUserSignupDisabled + const NoError + const NotFound + const NotFoundApimSubscription + const NotFoundDomain + const NotFoundImage + const NotFoundInvalid + const NotFoundIteration + const NotFoundIterationPerformance + const NotFoundProject + const NotFoundProjectDefaultIteration + const NotFoundTag + const UnsupportedMediaType + func PossibleCustomVisionErrorCodesValues() []CustomVisionErrorCodes + type ImagePrediction struct + Created *date.Time + ID *uuid.UUID + Iteration *uuid.UUID + Predictions *[]Model + Project *uuid.UUID + type ImageURL struct + URL *string + type Model struct + BoundingBox *BoundingBox + Probability *float64 + TagID *uuid.UUID + TagName *string + TagType TagType + type TagType string + const GeneralProduct + const Negative + const Regular + func PossibleTagTypeValues() []TagType