Versions in this module Expand all Collapse all v30 v30.1.0 Jun 10, 2019 v30.0.0 May 28, 2019 Changes in this version + func UserAgent() string + func Version() string + type BaseClient struct + APIKey string + Endpoint string + func New(aPIKey string, endpoint string) BaseClient + func NewWithoutDefaults(aPIKey string, 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 + type ImageURL struct + URL *string + type Model struct + BoundingBox *BoundingBox + Probability *float64 + TagID *uuid.UUID + TagName *string Other modules containing this package gopkg.in/azure/azure-sdk-for-go.v26 gopkg.in/azure/azure-sdk-for-go.v27 gopkg.in/azure/azure-sdk-for-go.v28 gopkg.in/azure/azure-sdk-for-go.v29 gopkg.in/azure/azure-sdk-for-go.v31 gopkg.in/azure/azure-sdk-for-go.v32 gopkg.in/azure/azure-sdk-for-go.v33 gopkg.in/azure/azure-sdk-for-go.v34 gopkg.in/azure/azure-sdk-for-go.v35 gopkg.in/azure/azure-sdk-for-go.v36 gopkg.in/azure/azure-sdk-for-go.v37 gopkg.in/azure/azure-sdk-for-go.v38 gopkg.in/azure/azure-sdk-for-go.v39 gopkg.in/azure/azure-sdk-for-go.v40 gopkg.in/azure/azure-sdk-for-go.v41 gopkg.in/azure/azure-sdk-for-go.v42 gopkg.in/azure/azure-sdk-for-go.v43 gopkg.in/azure/azure-sdk-for-go.v44 gopkg.in/azure/azure-sdk-for-go.v45 gopkg.in/azure/azure-sdk-for-go.v46 gopkg.in/azure/azure-sdk-for-go.v47 gopkg.in/azure/azure-sdk-for-go.v48 gopkg.in/azure/azure-sdk-for-go.v49