Classify Image With No Store - Classify Image With No Store

Sonucu kaydetmeden bir görüntüyü sınıflandırın.

POST {Endpoint}/customvision/v3.1/prediction/{projectId}/classify/iterations/{publishedName}/image/nostore
POST {Endpoint}/customvision/v3.1/prediction/{projectId}/classify/iterations/{publishedName}/image/nostore?application={application}

URI Parametreleri

Name In Required Type Description
Endpoint
path True
  • string

Desteklenen bilişsel hizmetler uç noktaları.

projectId
path True
  • string
uuid

Proje kimliği.

publishedName
path True
  • string

Değerlendirilecek modelin adını belirtir.

application
query
  • string

İsteğe bağlı. Uç noktasını kullanan uygulamanın adını belirtir.

İstek Başlığı

Media Types: "multipart/form-data", "application/octet-stream"

Name Required Type Description
Prediction-Key True
  • string

Yanıtlar

Name Type Description
200 OK

Tamam

Media Types: "application/json", "application/xml", "text/xml"

Other Status Codes

Hata yanıtı

Media Types: "application/json", "application/xml", "text/xml"

Güvenlik

Prediction-Key

Type: apiKey
In: header

Örnekler

Successful ClassifyImageWithNoStore request

Sample Request

POST https://westus.api.cognitive.microsoft.com/customvision/v3.1/prediction/64b822c5-8082-4b36-a426-27225f4aa18c/classify/iterations/MyModel1/image/nostore
Prediction-Key: {API Key}

Sample Response

{
  "id": "951098b2-9b69-427b-bddb-d5cb618874e3",
  "project": "64b822c5-8082-4b36-a426-27225f4aa18c",
  "iteration": "fe1e83c4-6f50-4899-9544-6bb08cf0e15a",
  "created": "2019-03-06T02:15:00Z",
  "predictions": [
    {
      "tagId": "e31ff107-5505-4753-be42-b369b21b026c",
      "tagName": "Hemlock",
      "probability": 0.05149666
    },
    {
      "tagId": "349d72ac-0948-4d51-b1e4-c14a1f9b848a",
      "tagName": "Japanese Cherry",
      "probability": 0.000193528482
    }
  ]
}

Tanımlar

BoundingBox

Bir görüntünün bölgesini tanımlayan sınırlama kutusu.

CustomVisionError
CustomVisionErrorCodes

Hata kodu.

ImagePrediction

Görüntü tahmin isteğinin sonucu.

Prediction

Tahmin sonucu.

TagType

Tahmin edilen etiketin türü.

BoundingBox

Bir görüntünün bölgesini tanımlayan sınırlama kutusu.

Name Type Description
height
  • number

Yükseklik.

left
  • number

Sol sınırın koordinatı.

top
  • number

Üst sınırın koordinatı.

width
  • number

Genişlik.

CustomVisionError

Name Type Description
code

Hata kodu.

message
  • string

Hizmetin bildirdiği hatayı açıklayan bir ileti.

CustomVisionErrorCodes

Hata kodu.

Name Type Description
BadRequest
  • string
BadRequestCannotMigrateProjectWithName
  • string
BadRequestClassificationTrainingValidationFailed
  • string
BadRequestCustomerManagedKeyRevoked
  • string
BadRequestDetectionTrainingNotAllowNegativeTag
  • string
BadRequestDetectionTrainingValidationFailed
  • string
BadRequestDomainNotSupportedForAdvancedTraining
  • string
BadRequestExceedIterationPerProjectLimit
  • string
BadRequestExceedProjectLimit
  • string
BadRequestExceedTagPerImageLimit
  • string
BadRequestExceedTagPerProjectLimit
  • string
BadRequestExceededBatchSize
  • string
BadRequestExceededQuota
  • string
BadRequestExportAlreadyInProgress
  • string
BadRequestExportPlatformNotSupportedForAdvancedTraining
  • string
BadRequestExportValidationFailed
  • string
BadRequestExportWhileTraining
  • string
BadRequestImageBatch
  • string
BadRequestImageDimensions
  • string
BadRequestImageExceededCount
  • string
BadRequestImageFormat
  • string
BadRequestImageMetadataKey
  • string
BadRequestImageMetadataValue
  • string
BadRequestImageRegions
  • string
BadRequestImageSizeBytes
  • string
BadRequestImageStream
  • string
BadRequestImageTags
  • string
BadRequestImageUrl
  • string
BadRequestInvalid
  • string
BadRequestInvalidArtifactUri
  • string
BadRequestInvalidEmailAddress
  • string
BadRequestInvalidIds
  • string
BadRequestInvalidImportToken
  • string
BadRequestInvalidPublishName
  • string
BadRequestInvalidPublishTarget
  • string
BadRequestIterationDescription
  • string
BadRequestIterationIsNotTrained
  • string
BadRequestIterationIsPublished
  • string
BadRequestIterationName
  • string
BadRequestIterationNameNotUnique
  • string
BadRequestIterationNotPublished
  • string
BadRequestIterationValidationFailed
  • string
BadRequestMultiClassClassificationTrainingValidationFailed
  • string
BadRequestMultiLabelClassificationTrainingValidationFailed
  • string
BadRequestMultipleGeneralProductTag
  • string
BadRequestMultipleNegativeTag
  • string
BadRequestNegativeAndRegularTagOnSameImage
  • string
BadRequestNotLimitedTrial
  • string
BadRequestNotSupported
  • string
BadRequestOperationNotSupported
  • string
BadRequestPredictionIdsExceededCount
  • string
BadRequestPredictionIdsMissing
  • string
BadRequestPredictionInvalidApplicationName
  • string
BadRequestPredictionInvalidQueryParameters
  • string
BadRequestPredictionResultsExceededCount
  • string
BadRequestPredictionTagsExceededCount
  • string
BadRequestProjectDescription
  • string
BadRequestProjectDuplicated
  • string
BadRequestProjectImagePreprocessingSettings
  • string
BadRequestProjectName
  • string
BadRequestProjectNameNotUnique
  • string
BadRequestProjectUnknownClassification
  • string
BadRequestProjectUnknownDomain
  • string
BadRequestProjectUnsupportedDomainTypeChange
  • string
BadRequestProjectUnsupportedExportPlatform
  • string
BadRequestRequiredParamIsNull
  • string
BadRequestReservedBudgetInHoursNotEnoughForAdvancedTraining
  • string
BadRequestSubscriptionApi
  • string
BadRequestTagDescription
  • string
BadRequestTagName
  • string
BadRequestTagNameNotUnique
  • string
BadRequestTagType
  • string
BadRequestTrainingAlreadyInProgress
  • string
BadRequestTrainingNotNeeded
  • string
BadRequestTrainingNotNeededButTrainingPipelineUpdated
  • string
BadRequestTrainingValidationFailed
  • string
BadRequestUnpublishFailed
  • string
BadRequestUnsupportedDomain
  • string
BadRequestWorkspaceCannotBeModified
  • string
BadRequestWorkspaceNotDeletable
  • string
Conflict
  • string
ConflictInvalid
  • string
ErrorExporterInvalidClassifier
  • string
ErrorExporterInvalidFeaturizer
  • string
ErrorExporterInvalidPlatform
  • string
ErrorFeaturizationAugmentationError
  • string
ErrorFeaturizationAugmentationUnavailable
  • string
ErrorFeaturizationInvalidFeaturizer
  • string
ErrorFeaturizationQueueTimeout
  • string
ErrorFeaturizationServiceUnavailable
  • string
ErrorFeaturizationUnrecognizedJob
  • string
ErrorInvalid
  • string
ErrorIterationCopyFailed
  • string
ErrorPrediction
  • string
ErrorPredictionModelNotCached
  • string
ErrorPredictionModelNotFound
  • string
ErrorPredictionServiceUnavailable
  • string
ErrorPredictionStorage
  • string
ErrorPreparePerformanceMigrationFailed
  • string
ErrorProjectExportRequestFailed
  • string
ErrorProjectImportRequestFailed
  • string
ErrorProjectInvalidDomain
  • string
ErrorProjectInvalidPipelineConfiguration
  • string
ErrorProjectInvalidWorkspace
  • string
ErrorProjectTrainingRequestFailed
  • string
ErrorRegionProposal
  • string
ErrorUnknown
  • string
ErrorUnknownBaseModel
  • string
Forbidden
  • string
ForbiddenDRModeEnabled
  • string
ForbiddenInvalid
  • string
ForbiddenUser
  • string
ForbiddenUserDisabled
  • string
ForbiddenUserDoesNotExist
  • string
ForbiddenUserInsufficientCapability
  • string
ForbiddenUserResource
  • string
ForbiddenUserSignupAllowanceExceeded
  • string
ForbiddenUserSignupDisabled
  • string
NoError
  • string
NotFound
  • string
NotFoundApimSubscription
  • string
NotFoundDomain
  • string
NotFoundImage
  • string
NotFoundInvalid
  • string
NotFoundIteration
  • string
NotFoundIterationPerformance
  • string
NotFoundProject
  • string
NotFoundProjectDefaultIteration
  • string
NotFoundTag
  • string
UnsupportedMediaType
  • string

ImagePrediction

Görüntü tahmin isteğinin sonucu.

Name Type Description
created
  • string

Bu tahmin oluşturulduğu tarih.

id
  • string

Tahmin kimliği.

iteration
  • string

Yineleme kimliği.

predictions

Tahminlerinin listesi.

project
  • string

Proje kimliği.

Prediction

Tahmin sonucu.

Name Type Description
boundingBox

Tahmine ait sınırlama kutusu.

probability
  • number

Etiketin olasılığı.

tagId
  • string

Tahmin edilen etiketin kimliği.

tagName
  • string

Tahmin edilen etiketin adı.

tagType

Tahmin edilen etiketin türü.

TagType

Tahmin edilen etiketin türü.

Name Type Description
GeneralProduct
  • string
Negative
  • string
Regular
  • string