Documentation ¶
Index ¶
- Variables
- func RegisterOffboardVisionGrpcServer(s *grpc.Server, srv OffboardVisionGrpcServer)
- type FaceAttribute
- type ImageConfig
- func (*ImageConfig) Descriptor() ([]byte, []int)
- func (m *ImageConfig) GetConfidenceThreshold() float64
- func (m *ImageConfig) GetFaceAttributes() []FaceAttribute
- func (m *ImageConfig) GetFaceLandmarks() bool
- func (m *ImageConfig) GetGroupName() string
- func (m *ImageConfig) GetMaxCandidates() int32
- func (m *ImageConfig) GetVisualFeatures() []VisualFeature
- func (*ImageConfig) ProtoMessage()
- func (m *ImageConfig) Reset()
- func (m *ImageConfig) String() string
- func (m *ImageConfig) XXX_DiscardUnknown()
- func (m *ImageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImageConfig) XXX_Merge(src proto.Message)
- func (m *ImageConfig) XXX_Size() int
- func (m *ImageConfig) XXX_Unmarshal(b []byte) error
- type ImageFormat
- type ImageRequest
- func (*ImageRequest) Descriptor() ([]byte, []int)
- func (m *ImageRequest) GetConfigs() *ImageConfig
- func (m *ImageRequest) GetDeviceId() string
- func (m *ImageRequest) GetFormat() ImageFormat
- func (m *ImageRequest) GetImageData() []byte
- func (m *ImageRequest) GetImageUrl() string
- func (m *ImageRequest) GetLang() string
- func (m *ImageRequest) GetModes() []string
- func (m *ImageRequest) GetSession() string
- func (m *ImageRequest) GetTimestampMs() uint32
- func (*ImageRequest) ProtoMessage()
- func (m *ImageRequest) Reset()
- func (m *ImageRequest) String() string
- func (m *ImageRequest) XXX_DiscardUnknown()
- func (m *ImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImageRequest) XXX_Merge(src proto.Message)
- func (m *ImageRequest) XXX_Size() int
- func (m *ImageRequest) XXX_Unmarshal(b []byte) error
- type ImageResponse
- func (*ImageResponse) Descriptor() ([]byte, []int)
- func (m *ImageResponse) GetDeviceId() string
- func (m *ImageResponse) GetRawResult() string
- func (m *ImageResponse) GetSession() string
- func (m *ImageResponse) GetTimestampMs() uint32
- func (*ImageResponse) ProtoMessage()
- func (m *ImageResponse) Reset()
- func (m *ImageResponse) String() string
- func (m *ImageResponse) XXX_DiscardUnknown()
- func (m *ImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImageResponse) XXX_Merge(src proto.Message)
- func (m *ImageResponse) XXX_Size() int
- func (m *ImageResponse) XXX_Unmarshal(b []byte) error
- type OffboardVisionGrpcClient
- type OffboardVisionGrpcServer
- type Person
- func (*Person) Descriptor() ([]byte, []int)
- func (m *Person) GetDescription() string
- func (m *Person) GetPersistedFaceId() []string
- func (m *Person) GetPersonId() string
- func (m *Person) GetPersonName() string
- func (m *Person) GetStatus() PersonStatus
- func (*Person) ProtoMessage()
- func (m *Person) Reset()
- func (m *Person) String() string
- func (m *Person) XXX_DiscardUnknown()
- func (m *Person) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Person) XXX_Merge(src proto.Message)
- func (m *Person) XXX_Size() int
- func (m *Person) XXX_Unmarshal(b []byte) error
- type PersonAction
- type PersonGroup
- func (*PersonGroup) Descriptor() ([]byte, []int)
- func (m *PersonGroup) GetGroupName() string
- func (m *PersonGroup) GetUserData() string
- func (*PersonGroup) ProtoMessage()
- func (m *PersonGroup) Reset()
- func (m *PersonGroup) String() string
- func (m *PersonGroup) XXX_DiscardUnknown()
- func (m *PersonGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PersonGroup) XXX_Merge(src proto.Message)
- func (m *PersonGroup) XXX_Size() int
- func (m *PersonGroup) XXX_Unmarshal(b []byte) error
- type PersonGroupList
- func (*PersonGroupList) Descriptor() ([]byte, []int)
- func (m *PersonGroupList) GetGroups() []*PersonGroup
- func (*PersonGroupList) ProtoMessage()
- func (m *PersonGroupList) Reset()
- func (m *PersonGroupList) String() string
- func (m *PersonGroupList) XXX_DiscardUnknown()
- func (m *PersonGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PersonGroupList) XXX_Merge(src proto.Message)
- func (m *PersonGroupList) XXX_Size() int
- func (m *PersonGroupList) XXX_Unmarshal(b []byte) error
- type PersonGroupResponse
- func (*PersonGroupResponse) Descriptor() ([]byte, []int)
- func (m *PersonGroupResponse) GetGroupName() string
- func (m *PersonGroupResponse) GetSuccess() bool
- func (*PersonGroupResponse) ProtoMessage()
- func (m *PersonGroupResponse) Reset()
- func (m *PersonGroupResponse) String() string
- func (m *PersonGroupResponse) XXX_DiscardUnknown()
- func (m *PersonGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PersonGroupResponse) XXX_Merge(src proto.Message)
- func (m *PersonGroupResponse) XXX_Size() int
- func (m *PersonGroupResponse) XXX_Unmarshal(b []byte) error
- type PersonRequest
- func (*PersonRequest) Descriptor() ([]byte, []int)
- func (m *PersonRequest) GetAction() PersonAction
- func (m *PersonRequest) GetDescription() string
- func (m *PersonRequest) GetFaceData() []byte
- func (m *PersonRequest) GetGroupName() string
- func (m *PersonRequest) GetPersonName() string
- func (*PersonRequest) ProtoMessage()
- func (m *PersonRequest) Reset()
- func (m *PersonRequest) String() string
- func (m *PersonRequest) XXX_DiscardUnknown()
- func (m *PersonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PersonRequest) XXX_Merge(src proto.Message)
- func (m *PersonRequest) XXX_Size() int
- func (m *PersonRequest) XXX_Unmarshal(b []byte) error
- type PersonResponse
- func (*PersonResponse) Descriptor() ([]byte, []int)
- func (m *PersonResponse) GetGroupName() string
- func (m *PersonResponse) GetPersons() []*Person
- func (*PersonResponse) ProtoMessage()
- func (m *PersonResponse) Reset()
- func (m *PersonResponse) String() string
- func (m *PersonResponse) XXX_DiscardUnknown()
- func (m *PersonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PersonResponse) XXX_Merge(src proto.Message)
- func (m *PersonResponse) XXX_Size() int
- func (m *PersonResponse) XXX_Unmarshal(b []byte) error
- type PersonStatus
- type VisualFeature
Constants ¶
This section is empty.
Variables ¶
View Source
var FaceAttribute_name = map[int32]string{
0: "AGE",
1: "GENDER",
2: "HEAD_POSE",
3: "SMILE",
4: "FACIAL_HAIR",
5: "GLASSES",
6: "EMOTION",
7: "HAIR",
8: "MAKEUP",
9: "OCCLUSION",
10: "ACCESSORIES",
11: "BLUR",
12: "EXPOSURE",
13: "NOISE",
}
View Source
var FaceAttribute_value = map[string]int32{
"AGE": 0,
"GENDER": 1,
"HEAD_POSE": 2,
"SMILE": 3,
"FACIAL_HAIR": 4,
"GLASSES": 5,
"EMOTION": 6,
"HAIR": 7,
"MAKEUP": 8,
"OCCLUSION": 9,
"ACCESSORIES": 10,
"BLUR": 11,
"EXPOSURE": 12,
"NOISE": 13,
}
View Source
var ImageFormat_name = map[int32]string{
0: "JPG",
1: "PNG",
2: "GIF",
3: "GMP",
}
View Source
var ImageFormat_value = map[string]int32{
"JPG": 0,
"PNG": 1,
"GIF": 2,
"GMP": 3,
}
View Source
var PersonAction_name = map[int32]string{
0: "CREATE",
1: "ADD_FACE",
2: "GET",
3: "LIST",
4: "DELETE",
}
View Source
var PersonAction_value = map[string]int32{
"CREATE": 0,
"ADD_FACE": 1,
"GET": 2,
"LIST": 3,
"DELETE": 4,
}
View Source
var PersonStatus_name = map[int32]string{
0: "NONE",
1: "CREATED",
2: "DELETED",
3: "ADDED_FACE",
4: "DELETED_FACE",
}
View Source
var PersonStatus_value = map[string]int32{
"NONE": 0,
"CREATED": 1,
"DELETED": 2,
"ADDED_FACE": 3,
"DELETED_FACE": 4,
}
View Source
var VisualFeature_name = map[int32]string{
0: "ADULT",
1: "CATEGORIES",
2: "COLOR",
3: "DESCRIPTION",
4: "FACES",
5: "IMAGE_TYPE",
6: "OBJECTS",
7: "TAGS",
}
View Source
var VisualFeature_value = map[string]int32{
"ADULT": 0,
"CATEGORIES": 1,
"COLOR": 2,
"DESCRIPTION": 3,
"FACES": 4,
"IMAGE_TYPE": 5,
"OBJECTS": 6,
"TAGS": 7,
}
Functions ¶
func RegisterOffboardVisionGrpcServer ¶
func RegisterOffboardVisionGrpcServer(s *grpc.Server, srv OffboardVisionGrpcServer)
Types ¶
type FaceAttribute ¶
type FaceAttribute int32
const ( FaceAttribute_AGE FaceAttribute = 0 FaceAttribute_GENDER FaceAttribute = 1 FaceAttribute_HEAD_POSE FaceAttribute = 2 FaceAttribute_SMILE FaceAttribute = 3 FaceAttribute_FACIAL_HAIR FaceAttribute = 4 FaceAttribute_GLASSES FaceAttribute = 5 FaceAttribute_EMOTION FaceAttribute = 6 FaceAttribute_HAIR FaceAttribute = 7 FaceAttribute_MAKEUP FaceAttribute = 8 FaceAttribute_OCCLUSION FaceAttribute = 9 FaceAttribute_ACCESSORIES FaceAttribute = 10 FaceAttribute_BLUR FaceAttribute = 11 FaceAttribute_EXPOSURE FaceAttribute = 12 FaceAttribute_NOISE FaceAttribute = 13 )
func (FaceAttribute) EnumDescriptor ¶
func (FaceAttribute) EnumDescriptor() ([]byte, []int)
func (FaceAttribute) String ¶
func (x FaceAttribute) String() string
type ImageConfig ¶
type ImageConfig struct { // group to search for person. GroupName string `protobuf:"bytes,1,opt,name=groupName" json:"groupName,omitempty"` // max candidates to return for face to identify. [1, 100], default=10 MaxCandidates int32 `protobuf:"varint,2,opt,name=max_candidates,json=maxCandidates" json:"max_candidates,omitempty"` // confidence for identify person, [0, 1] ConfidenceThreshold float64 `protobuf:"fixed64,3,opt,name=confidence_threshold,json=confidenceThreshold" json:"confidence_threshold,omitempty"` // list of face attributes to analyze // default: AGE, GENDER, HAIR, EMOTION FaceAttributes []FaceAttribute `` /* 136-byte string literal not displayed */ // indicate whether to return landmarks (like nose position) for detected faces FaceLandmarks bool `protobuf:"varint,5,opt,name=face_landmarks,json=faceLandmarks" json:"face_landmarks,omitempty"` // visual features to return. // default: "CATEGORIES", "DESCRIPTION", "FACES" and "TAGS" VisualFeatures []VisualFeature `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImageConfig) Descriptor ¶
func (*ImageConfig) Descriptor() ([]byte, []int)
func (*ImageConfig) GetConfidenceThreshold ¶
func (m *ImageConfig) GetConfidenceThreshold() float64
func (*ImageConfig) GetFaceAttributes ¶
func (m *ImageConfig) GetFaceAttributes() []FaceAttribute
func (*ImageConfig) GetFaceLandmarks ¶
func (m *ImageConfig) GetFaceLandmarks() bool
func (*ImageConfig) GetGroupName ¶
func (m *ImageConfig) GetGroupName() string
func (*ImageConfig) GetMaxCandidates ¶
func (m *ImageConfig) GetMaxCandidates() int32
func (*ImageConfig) GetVisualFeatures ¶
func (m *ImageConfig) GetVisualFeatures() []VisualFeature
func (*ImageConfig) ProtoMessage ¶
func (*ImageConfig) ProtoMessage()
func (*ImageConfig) Reset ¶
func (m *ImageConfig) Reset()
func (*ImageConfig) String ¶
func (m *ImageConfig) String() string
func (*ImageConfig) XXX_DiscardUnknown ¶
func (m *ImageConfig) XXX_DiscardUnknown()
func (*ImageConfig) XXX_Marshal ¶
func (m *ImageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImageConfig) XXX_Merge ¶
func (dst *ImageConfig) XXX_Merge(src proto.Message)
func (*ImageConfig) XXX_Size ¶
func (m *ImageConfig) XXX_Size() int
func (*ImageConfig) XXX_Unmarshal ¶
func (m *ImageConfig) XXX_Unmarshal(b []byte) error
type ImageFormat ¶
type ImageFormat int32
const ( ImageFormat_JPG ImageFormat = 0 ImageFormat_PNG ImageFormat = 1 ImageFormat_GIF ImageFormat = 2 ImageFormat_GMP ImageFormat = 3 )
func (ImageFormat) EnumDescriptor ¶
func (ImageFormat) EnumDescriptor() ([]byte, []int)
func (ImageFormat) String ¶
func (x ImageFormat) String() string
type ImageRequest ¶
type ImageRequest struct { // Required. unique identifier Session string `protobuf:"bytes,1,opt,name=session" json:"session,omitempty"` // Required. robot or device identifier DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId" json:"device_id,omitempty"` // Required. timestamp in milliseconds TimestampMs uint32 `protobuf:"varint,3,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"` // Required. lang for labels, default should be "en" Lang string `protobuf:"bytes,4,opt,name=lang" json:"lang,omitempty"` // Optional. payload for image data ImageData []byte `protobuf:"bytes,5,opt,name=image_data,json=imageData,proto3" json:"image_data,omitempty"` // Optional. payload image format. // Only supports: JPEG, PNG, GIF, BMP format, size must be less than 4MB, dimensions must be at least 50 x 50 Format ImageFormat `protobuf:"varint,6,opt,name=format,enum=chippergrpc2.ImageFormat" json:"format,omitempty"` // Optional. Mode to run to be handled by server. Modes []string `protobuf:"bytes,7,rep,name=modes" json:"modes,omitempty"` // Optional. Pass an image url to analyze ImageUrl string `protobuf:"bytes,8,opt,name=image_url,json=imageUrl" json:"image_url,omitempty"` // Optional. configs for various modes. If empty, use server defaults Configs *ImageConfig `protobuf:"bytes,9,opt,name=configs" json:"configs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImageRequest) Descriptor ¶
func (*ImageRequest) Descriptor() ([]byte, []int)
func (*ImageRequest) GetConfigs ¶
func (m *ImageRequest) GetConfigs() *ImageConfig
func (*ImageRequest) GetDeviceId ¶
func (m *ImageRequest) GetDeviceId() string
func (*ImageRequest) GetFormat ¶
func (m *ImageRequest) GetFormat() ImageFormat
func (*ImageRequest) GetImageData ¶
func (m *ImageRequest) GetImageData() []byte
func (*ImageRequest) GetImageUrl ¶
func (m *ImageRequest) GetImageUrl() string
func (*ImageRequest) GetLang ¶
func (m *ImageRequest) GetLang() string
func (*ImageRequest) GetModes ¶
func (m *ImageRequest) GetModes() []string
func (*ImageRequest) GetSession ¶
func (m *ImageRequest) GetSession() string
func (*ImageRequest) GetTimestampMs ¶
func (m *ImageRequest) GetTimestampMs() uint32
func (*ImageRequest) ProtoMessage ¶
func (*ImageRequest) ProtoMessage()
func (*ImageRequest) Reset ¶
func (m *ImageRequest) Reset()
func (*ImageRequest) String ¶
func (m *ImageRequest) String() string
func (*ImageRequest) XXX_DiscardUnknown ¶
func (m *ImageRequest) XXX_DiscardUnknown()
func (*ImageRequest) XXX_Marshal ¶
func (m *ImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImageRequest) XXX_Merge ¶
func (dst *ImageRequest) XXX_Merge(src proto.Message)
func (*ImageRequest) XXX_Size ¶
func (m *ImageRequest) XXX_Size() int
func (*ImageRequest) XXX_Unmarshal ¶
func (m *ImageRequest) XXX_Unmarshal(b []byte) error
type ImageResponse ¶
type ImageResponse struct { // Required. unique identifier for request Session string `protobuf:"bytes,1,opt,name=session" json:"session,omitempty"` // Required. robot or device identifier DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId" json:"device_id,omitempty"` // Required. timetamp in milliseconds TimestampMs uint32 `protobuf:"varint,3,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"` // Required. raw json string of output from image analyzer RawResult string `protobuf:"bytes,4,opt,name=raw_result,json=rawResult" json:"raw_result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImageResponse) Descriptor ¶
func (*ImageResponse) Descriptor() ([]byte, []int)
func (*ImageResponse) GetDeviceId ¶
func (m *ImageResponse) GetDeviceId() string
func (*ImageResponse) GetRawResult ¶
func (m *ImageResponse) GetRawResult() string
func (*ImageResponse) GetSession ¶
func (m *ImageResponse) GetSession() string
func (*ImageResponse) GetTimestampMs ¶
func (m *ImageResponse) GetTimestampMs() uint32
func (*ImageResponse) ProtoMessage ¶
func (*ImageResponse) ProtoMessage()
func (*ImageResponse) Reset ¶
func (m *ImageResponse) Reset()
func (*ImageResponse) String ¶
func (m *ImageResponse) String() string
func (*ImageResponse) XXX_DiscardUnknown ¶
func (m *ImageResponse) XXX_DiscardUnknown()
func (*ImageResponse) XXX_Marshal ¶
func (m *ImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImageResponse) XXX_Merge ¶
func (dst *ImageResponse) XXX_Merge(src proto.Message)
func (*ImageResponse) XXX_Size ¶
func (m *ImageResponse) XXX_Size() int
func (*ImageResponse) XXX_Unmarshal ¶
func (m *ImageResponse) XXX_Unmarshal(b []byte) error
type OffboardVisionGrpcClient ¶
type OffboardVisionGrpcClient interface { // main elemental-box image demo AnalyzeImage(ctx context.Context, in *ImageRequest, opts ...grpc.CallOption) (*ImageResponse, error) }
func NewOffboardVisionGrpcClient ¶
func NewOffboardVisionGrpcClient(cc *grpc.ClientConn) OffboardVisionGrpcClient
type OffboardVisionGrpcServer ¶
type OffboardVisionGrpcServer interface { // main elemental-box image demo AnalyzeImage(context.Context, *ImageRequest) (*ImageResponse, error) }
type Person ¶
type Person struct { PersonId string `protobuf:"bytes,1,opt,name=person_id,json=personId" json:"person_id,omitempty"` // Required. name of person from the request PersonName string `protobuf:"bytes,2,opt,name=person_name,json=personName" json:"person_name,omitempty"` // Optional. Description of this person Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // Optional. face_id of face image used to add this person PersistedFaceId []string `protobuf:"bytes,4,rep,name=persisted_face_id,json=persistedFaceId" json:"persisted_face_id,omitempty"` Status PersonStatus `protobuf:"varint,5,opt,name=status,enum=chippergrpc2.PersonStatus" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Person) Descriptor ¶
func (*Person) GetDescription ¶
func (*Person) GetPersistedFaceId ¶
func (*Person) GetPersonId ¶
func (*Person) GetPersonName ¶
func (*Person) GetStatus ¶
func (m *Person) GetStatus() PersonStatus
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) XXX_DiscardUnknown ¶
func (m *Person) XXX_DiscardUnknown()
func (*Person) XXX_Marshal ¶
func (*Person) XXX_Unmarshal ¶
type PersonAction ¶
type PersonAction int32
const ( PersonAction_CREATE PersonAction = 0 PersonAction_ADD_FACE PersonAction = 1 PersonAction_GET PersonAction = 2 PersonAction_LIST PersonAction = 3 PersonAction_DELETE PersonAction = 4 )
func (PersonAction) EnumDescriptor ¶
func (PersonAction) EnumDescriptor() ([]byte, []int)
func (PersonAction) String ¶
func (x PersonAction) String() string
type PersonGroup ¶
type PersonGroup struct { // Required. Name for the group. // a string composed by numbers, English letters in lower case, '-', '_', and no longer than 64 characters GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName" json:"group_name,omitempty"` // Optional. Description for this group UserData string `protobuf:"bytes,2,opt,name=user_data,json=userData" json:"user_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Person Group related
func (*PersonGroup) Descriptor ¶
func (*PersonGroup) Descriptor() ([]byte, []int)
func (*PersonGroup) GetGroupName ¶
func (m *PersonGroup) GetGroupName() string
func (*PersonGroup) GetUserData ¶
func (m *PersonGroup) GetUserData() string
func (*PersonGroup) ProtoMessage ¶
func (*PersonGroup) ProtoMessage()
func (*PersonGroup) Reset ¶
func (m *PersonGroup) Reset()
func (*PersonGroup) String ¶
func (m *PersonGroup) String() string
func (*PersonGroup) XXX_DiscardUnknown ¶
func (m *PersonGroup) XXX_DiscardUnknown()
func (*PersonGroup) XXX_Marshal ¶
func (m *PersonGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersonGroup) XXX_Merge ¶
func (dst *PersonGroup) XXX_Merge(src proto.Message)
func (*PersonGroup) XXX_Size ¶
func (m *PersonGroup) XXX_Size() int
func (*PersonGroup) XXX_Unmarshal ¶
func (m *PersonGroup) XXX_Unmarshal(b []byte) error
type PersonGroupList ¶
type PersonGroupList struct { Groups []*PersonGroup `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PersonGroupList) Descriptor ¶
func (*PersonGroupList) Descriptor() ([]byte, []int)
func (*PersonGroupList) GetGroups ¶
func (m *PersonGroupList) GetGroups() []*PersonGroup
func (*PersonGroupList) ProtoMessage ¶
func (*PersonGroupList) ProtoMessage()
func (*PersonGroupList) Reset ¶
func (m *PersonGroupList) Reset()
func (*PersonGroupList) String ¶
func (m *PersonGroupList) String() string
func (*PersonGroupList) XXX_DiscardUnknown ¶
func (m *PersonGroupList) XXX_DiscardUnknown()
func (*PersonGroupList) XXX_Marshal ¶
func (m *PersonGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersonGroupList) XXX_Merge ¶
func (dst *PersonGroupList) XXX_Merge(src proto.Message)
func (*PersonGroupList) XXX_Size ¶
func (m *PersonGroupList) XXX_Size() int
func (*PersonGroupList) XXX_Unmarshal ¶
func (m *PersonGroupList) XXX_Unmarshal(b []byte) error
type PersonGroupResponse ¶
type PersonGroupResponse struct { Success bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName" json:"group_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PersonGroupResponse) Descriptor ¶
func (*PersonGroupResponse) Descriptor() ([]byte, []int)
func (*PersonGroupResponse) GetGroupName ¶
func (m *PersonGroupResponse) GetGroupName() string
func (*PersonGroupResponse) GetSuccess ¶
func (m *PersonGroupResponse) GetSuccess() bool
func (*PersonGroupResponse) ProtoMessage ¶
func (*PersonGroupResponse) ProtoMessage()
func (*PersonGroupResponse) Reset ¶
func (m *PersonGroupResponse) Reset()
func (*PersonGroupResponse) String ¶
func (m *PersonGroupResponse) String() string
func (*PersonGroupResponse) XXX_DiscardUnknown ¶
func (m *PersonGroupResponse) XXX_DiscardUnknown()
func (*PersonGroupResponse) XXX_Marshal ¶
func (m *PersonGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersonGroupResponse) XXX_Merge ¶
func (dst *PersonGroupResponse) XXX_Merge(src proto.Message)
func (*PersonGroupResponse) XXX_Size ¶
func (m *PersonGroupResponse) XXX_Size() int
func (*PersonGroupResponse) XXX_Unmarshal ¶
func (m *PersonGroupResponse) XXX_Unmarshal(b []byte) error
type PersonRequest ¶
type PersonRequest struct { // Optional. PersonGroup Name (used to create the group) to add this person // if missing, server will use the default group GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName" json:"group_name,omitempty"` // task to do Action PersonAction `protobuf:"varint,2,opt,name=action,enum=chippergrpc2.PersonAction" json:"action,omitempty"` // Required for CREATE, ADD_FACE, GET actions. PersonName string `protobuf:"bytes,3,opt,name=person_name,json=personName" json:"person_name,omitempty"` // Required for CREATE and ADD_FACE action. // payload for face image data. assume that there's only one face in the image FaceData []byte `protobuf:"bytes,4,opt,name=face_data,json=faceData,proto3" json:"face_data,omitempty"` // Optional. for CREATE action. Description of this person Description string `protobuf:"bytes,16,opt,name=description" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PersonRequest) Descriptor ¶
func (*PersonRequest) Descriptor() ([]byte, []int)
func (*PersonRequest) GetAction ¶
func (m *PersonRequest) GetAction() PersonAction
func (*PersonRequest) GetDescription ¶
func (m *PersonRequest) GetDescription() string
func (*PersonRequest) GetFaceData ¶
func (m *PersonRequest) GetFaceData() []byte
func (*PersonRequest) GetGroupName ¶
func (m *PersonRequest) GetGroupName() string
func (*PersonRequest) GetPersonName ¶
func (m *PersonRequest) GetPersonName() string
func (*PersonRequest) ProtoMessage ¶
func (*PersonRequest) ProtoMessage()
func (*PersonRequest) Reset ¶
func (m *PersonRequest) Reset()
func (*PersonRequest) String ¶
func (m *PersonRequest) String() string
func (*PersonRequest) XXX_DiscardUnknown ¶
func (m *PersonRequest) XXX_DiscardUnknown()
func (*PersonRequest) XXX_Marshal ¶
func (m *PersonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersonRequest) XXX_Merge ¶
func (dst *PersonRequest) XXX_Merge(src proto.Message)
func (*PersonRequest) XXX_Size ¶
func (m *PersonRequest) XXX_Size() int
func (*PersonRequest) XXX_Unmarshal ¶
func (m *PersonRequest) XXX_Unmarshal(b []byte) error
type PersonResponse ¶
type PersonResponse struct { // group that action is performed on GroupName string `protobuf:"bytes,1,opt,name=groupName" json:"groupName,omitempty"` // array of Person. Except for list-action, there should only be one entry Persons []*Person `protobuf:"bytes,2,rep,name=persons" json:"persons,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PersonResponse) Descriptor ¶
func (*PersonResponse) Descriptor() ([]byte, []int)
func (*PersonResponse) GetGroupName ¶
func (m *PersonResponse) GetGroupName() string
func (*PersonResponse) GetPersons ¶
func (m *PersonResponse) GetPersons() []*Person
func (*PersonResponse) ProtoMessage ¶
func (*PersonResponse) ProtoMessage()
func (*PersonResponse) Reset ¶
func (m *PersonResponse) Reset()
func (*PersonResponse) String ¶
func (m *PersonResponse) String() string
func (*PersonResponse) XXX_DiscardUnknown ¶
func (m *PersonResponse) XXX_DiscardUnknown()
func (*PersonResponse) XXX_Marshal ¶
func (m *PersonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersonResponse) XXX_Merge ¶
func (dst *PersonResponse) XXX_Merge(src proto.Message)
func (*PersonResponse) XXX_Size ¶
func (m *PersonResponse) XXX_Size() int
func (*PersonResponse) XXX_Unmarshal ¶
func (m *PersonResponse) XXX_Unmarshal(b []byte) error
type PersonStatus ¶
type PersonStatus int32
for CreatePerson API
const ( PersonStatus_NONE PersonStatus = 0 PersonStatus_CREATED PersonStatus = 1 PersonStatus_DELETED PersonStatus = 2 PersonStatus_ADDED_FACE PersonStatus = 3 PersonStatus_DELETED_FACE PersonStatus = 4 )
func (PersonStatus) EnumDescriptor ¶
func (PersonStatus) EnumDescriptor() ([]byte, []int)
func (PersonStatus) String ¶
func (x PersonStatus) String() string
type VisualFeature ¶
type VisualFeature int32
const ( VisualFeature_ADULT VisualFeature = 0 VisualFeature_CATEGORIES VisualFeature = 1 VisualFeature_COLOR VisualFeature = 2 VisualFeature_DESCRIPTION VisualFeature = 3 VisualFeature_FACES VisualFeature = 4 VisualFeature_IMAGE_TYPE VisualFeature = 5 VisualFeature_OBJECTS VisualFeature = 6 VisualFeature_TAGS VisualFeature = 7 )
func (VisualFeature) EnumDescriptor ¶
func (VisualFeature) EnumDescriptor() ([]byte, []int)
func (VisualFeature) String ¶
func (x VisualFeature) String() string
Click to show internal directories.
Click to hide internal directories.