@azure/cognitiveservices-customvision-prediction package
Třídy
PredictionAPIClient | |
PredictionAPIClientContext |
Rozhraní
BoundingBox |
Ohraničující rámeček, který definuje oblast obrázku. |
CustomVisionError |
Rozhraní představující CustomVisionError. |
ImagePrediction |
Výsledek požadavku na predikci obrázku |
ImageUrl |
Adresa URL obrázku |
Prediction |
Výsledek předpovědi. |
PredictionAPIClientClassifyImageOptionalParams |
Volitelné parametry. |
PredictionAPIClientClassifyImageUrlOptionalParams |
Volitelné parametry. |
PredictionAPIClientClassifyImageUrlWithNoStoreOptionalParams |
Volitelné parametry. |
PredictionAPIClientClassifyImageWithNoStoreOptionalParams |
Volitelné parametry. |
PredictionAPIClientDetectImageOptionalParams |
Volitelné parametry. |
PredictionAPIClientDetectImageUrlOptionalParams |
Volitelné parametry. |
PredictionAPIClientDetectImageUrlWithNoStoreOptionalParams |
Volitelné parametry. |
PredictionAPIClientDetectImageWithNoStoreOptionalParams |
Volitelné parametry. |
Aliasy typu
ClassifyImageResponse |
Obsahuje data odpovědi pro operaci classifyImage. |
ClassifyImageUrlResponse |
Obsahuje data odpovědi pro operaci classifyImageUrl. |
ClassifyImageUrlWithNoStoreResponse |
Obsahuje data odpovědi pro operaci classifyImageUrlWithNoStore. |
ClassifyImageWithNoStoreResponse |
Obsahuje data odpovědi pro operaci classifyImageWithNoStore. |
CustomVisionErrorCodes |
Definuje hodnoty pro CustomVisionErrorCodes. Mezi možné hodnoty patří: NoError, BadRequest, BadRequestExceededBatchSize, BadRequestNotSupported, BadRequestInvalidIds, 'BadRequestProjectName', 'BadRequestProjectNameNotUnique', 'BadRequestProjectDescription', 'BadRequestProjectUnknownDomain', 'BadRequestProjectUnknownClassification', 'BadRequestProjectUnsupportedDomainTypeChange', 'BadRequestProjectUnsupportedExportPlatform', 'BadRequestProjectImagePreprocessingSettings', ' BadRequestProjectDuplicated, BadRequestIterationName, BadRequestIterationNameNotUnique, BadRequestIterationDescription, BadRequestIterationIsNotTrained, BadRequestIterationValidationFailed, BadRequestWorkspaceCannotBeModified, BadRequestWorkspaceNotDeletable, BadRequestTagName, BadRequestTagNameNotUnique, BadRequestTagDescription, BadRequestTagType, BadRequestMultipleNegativeTag, BadRequestMultipleProductTag, BadRequestImageTags, BadRequestImageRegions, BadRequestNegativeAndRegularTagOnSameImage, BadRequestUnsupportedDomain, BadRequestRequiredParamIsNull, BadRequestIterationIsPublished, BadRequestInvalidPublishName, BadRequestInvalidPublishTarget, BadRequestUnpublishFailed, BadRequestIterationNotPublished, BadRequestSubscriptionApi, BadRequestExceedProjectLimit, BadRequestExceedIterationPerProjectLimit, BadRequestExceedIterationPerProjectLimit , BadRequestExceedTagPerImageLimit, BadRequestExceededQuota, BadRequestCannotMigrateProjectWithName, BadRequestNotLimitedTrial, BadRequestImageBatch, BadRequestImageStream, 'BadRequestImageUrl', 'BadRequestImageFormat', 'BadRequestImageSizeBytes', 'BadRequestImageDimensions', 'BadRequestImageExceededCount', 'BadRequestTrainingNotNeededButTrainingPipelineUpdated', 'BadRequestTrainingValidationFailed', ' BadRequestClassificationTrainingValidationFailed, BadRequestMultiClassClassificationTrainingValidationFailed, BadRequestMultiLabelClassificationTrainingValidationFailed, 'BadRequestDetectionTrainingValidationFailed', 'BadRequestTrainingAlreadyInProgress', 'BadRequestDetectionTrainingNotAllowNegativeTag', 'BadRequestInvalidEmailAddress', 'BadRequestDomainNotSupportedForAdvancedTraining', 'BadRequestExportPlatformNotSupportedForAdvancedTraining', 'BadRequestReservedBudgetInHoursNotEnoughForAdvancedTraining', 'BadRequestExportValidationFailed', 'BadRequestExportAlreadyInProgress', 'BadRequestPredictionIdsMissing', 'BadRequestPredictionIdsExceededCount', 'BadRequestPredictionTagsExceededCount', 'BadRequestPredictionResultsExceededCount', 'BadRequestPredictionInvalidApplicationName', 'BadRequestPredictionInvalidQueryParameters', 'BadRequestInvalidImportToken', 'BadRequestExportWhileTraining', ' BadRequestImageMetadataKey, BadRequestImageMetadataValue, BadRequestOperationNotSupported, BadRequestInvalidArtifactUri, BadRequestCustomerManagedKeyRevoked, 'BadRequestInvalid', 'UnsupportedMediaType', 'ForbiddenUser', 'ForbiddenUserResource', 'ForbiddenUserSignupDisabled', 'ForbiddenUserSignupAllowanceExceeded', 'ForbiddenUserDoesNotExist', 'ForbiddenUserDisabled', 'ForbiddenUserInsufficientCapability', 'ForbiddenDRModeEnabled', ' ForbiddenInvalid, NotFound, NotFoundProject, NotFoundProjectDefaultIteration, NotFoundIteration, NotFoundIterationPerformance, NotFoundTag, NotFoundImage, NotFoundDomain, NotFoundApimSubscription, NotFoundInvalid, Conflict, ConflictInvalid, ErrorUnknown, ErrorIterationCopyFailed, ErrorPreparePerformanceMigrationFailed, ErrorProjectInvalidWorkspace, ErrorProjectInvalidPipelineConfiguration, ErrorProjectInvalidPipelineConfiguration, ErrorProjectInvalidDomain, ErrorProjectTrainingRequestFailed, ErrorProjectImportRequestFailed, ErrorProjectExportRequestFailed, ErrorFeaturizationServiceUnavailable, ErrorFeaturizationQueueTimeout, ErrorFeaturizationInvalidFeaturizer, ErrorFeaturizationAugmentationUnavailable, ErrorFeaturizationUnrecognizedJob, ErrorFeaturizationAugmentationError, ErrorExporterInvalidPlatform, ErrorExporterInvalidFeaturizer, ErrorExporterInvalidClassifier, ErrorPredictionServiceUnavailable, ErrorPredictionModelNotFound, ErrorPredictionModelNotCached, ErrorPrediction, ErrorPredictionStorage, ErrorRegionProposal, ErrorUnknownBaseModel, ErrorInvalid |
DetectImageResponse |
Obsahuje data odpovědi pro operaci detectImage. |
DetectImageUrlResponse |
Obsahuje data odpovědi pro operaci detectImageUrl. |
DetectImageUrlWithNoStoreResponse |
Obsahuje data odpovědi pro operaci detectImageUrlWithNoStore. |
DetectImageWithNoStoreResponse |
Obsahuje data odpovědi pro operaci detectImageWithNoStore. |
TagType |
Definuje hodnoty pro TagType. Mezi možné hodnoty patří: 'Regular', 'Negative', 'GeneralProduct' |