Versions in this module Expand all Collapse all v1 v1.1.4 Sep 7, 2022 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 BadRequestDetectionTrainingNotAllowNegativeTag + const BadRequestDetectionTrainingValidationFailed + const BadRequestDomainNotSupportedForAdvancedTraining + const BadRequestExceedIterationPerProjectLimit + const BadRequestExceedProjectLimit + const BadRequestExceedTagPerImageLimit + const BadRequestExceedTagPerProjectLimit + const BadRequestExceededBatchSize + const BadRequestExceededQuota + const BadRequestExportAlreadyInProgress + const BadRequestExportPlatformNotSupportedForAdvancedTraining + const BadRequestExportValidationFailed + const BadRequestImageBatch + const BadRequestImageExceededCount + const BadRequestImageFormat + const BadRequestImageRegions + const BadRequestImageSizeBytes + const BadRequestImageStream + const BadRequestImageTags + const BadRequestImageURL + const BadRequestInvalid + const BadRequestInvalidEmailAddress + const BadRequestInvalidIds + const BadRequestInvalidPublishName + const BadRequestInvalidPublishTarget + const BadRequestIterationDescription + const BadRequestIterationIsNotTrained + const BadRequestIterationIsPublished + const BadRequestIterationName + const BadRequestIterationNameNotUnique + const BadRequestMultiClassClassificationTrainingValidationFailed + const BadRequestMultiLabelClassificationTrainingValidationFailed + const BadRequestMultipleNegativeTag + const BadRequestNegativeAndRegularTagOnSameImage + const BadRequestNotLimitedTrial + const BadRequestNotSupported + const BadRequestPredictionIdsExceededCount + const BadRequestPredictionIdsMissing + const BadRequestPredictionInvalidApplicationName + const BadRequestPredictionInvalidQueryParameters + const BadRequestPredictionResultsExceededCount + const BadRequestPredictionTagsExceededCount + const BadRequestProjectDescription + 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 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 ErrorPrediction + const ErrorPredictionModelNotCached + const ErrorPredictionModelNotFound + const ErrorPredictionServiceUnavailable + const ErrorPredictionStorage + const ErrorProjectExportRequestFailed + const ErrorProjectInvalidDomain + const ErrorProjectInvalidPipelineConfiguration + const ErrorProjectInvalidWorkspace + const ErrorProjectTrainingRequestFailed + const ErrorRegionProposal + const ErrorUnknown + 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 + func (IP ImagePrediction) MarshalJSON() ([]byte, error) + type ImageURL struct + URL *string + type Model struct + BoundingBox *BoundingBox + Probability *float64 + TagID *uuid.UUID + TagName *string + func (mVar Model) MarshalJSON() ([]byte, error)