aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/vision/v1/classification.proto
blob: d10d0cfb0de18bd18748d3fd6c110e1888308272 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
syntax = "proto3";

package yandex.cloud.ai.vision.v1;

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/ai/vision/v1;vision";
option java_package = "yandex.cloud.api.ai.vision.v1";

message ClassAnnotation {
  // Properties extracted by a specified model.
  //
  // For example, if you ask to evaluate the image quality,
  // the service could return such properties as `good` and `bad`.
  repeated Property properties = 1;
}

message Property {
  // Property name.
  string name = 1;
  // Probability of the property, from 0 to 1.
  double probability = 2;
}