New file |
| | |
| | | // Code generated by protoc-gen-go. DO NOT EDIT. |
| | | // source: sdk.proto |
| | | |
| | | package protomsg |
| | | |
| | | import ( |
| | | fmt "fmt" |
| | | proto "github.com/golang/protobuf/proto" |
| | | math "math" |
| | | ) |
| | | |
| | | // Reference imports to suppress errors if they are not otherwise used. |
| | | var _ = proto.Marshal |
| | | var _ = fmt.Errorf |
| | | var _ = math.Inf |
| | | |
| | | // This is a compile-time assertion to ensure that this generated file |
| | | // is compatible with the proto package it is being compiled against. |
| | | // A compilation error at this line likely means your copy of the |
| | | // proto package needs to be updated. |
| | | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| | | |
| | | // Image ipc struct |
| | | type Image struct { |
| | | Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` |
| | | Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` |
| | | Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` |
| | | Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| | | Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` |
| | | Cid string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *Image) Reset() { *m = Image{} } |
| | | func (m *Image) String() string { return proto.CompactTextString(m) } |
| | | func (*Image) ProtoMessage() {} |
| | | func (*Image) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{0} |
| | | } |
| | | |
| | | func (m *Image) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_Image.Unmarshal(m, b) |
| | | } |
| | | func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_Image.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *Image) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_Image.Merge(m, src) |
| | | } |
| | | func (m *Image) XXX_Size() int { |
| | | return xxx_messageInfo_Image.Size(m) |
| | | } |
| | | func (m *Image) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_Image.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_Image proto.InternalMessageInfo |
| | | |
| | | func (m *Image) GetWidth() int32 { |
| | | if m != nil { |
| | | return m.Width |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *Image) GetHeight() int32 { |
| | | if m != nil { |
| | | return m.Height |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *Image) GetData() []byte { |
| | | if m != nil { |
| | | return m.Data |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *Image) GetTimestamp() string { |
| | | if m != nil { |
| | | return m.Timestamp |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (m *Image) GetId() int64 { |
| | | if m != nil { |
| | | return m.Id |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *Image) GetCid() string { |
| | | if m != nil { |
| | | return m.Cid |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type FaceAngle struct { |
| | | Yaw int32 `protobuf:"varint,1,opt,name=yaw,proto3" json:"yaw,omitempty"` |
| | | Pitch int32 `protobuf:"varint,2,opt,name=pitch,proto3" json:"pitch,omitempty"` |
| | | Roll int32 `protobuf:"varint,3,opt,name=roll,proto3" json:"roll,omitempty"` |
| | | Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *FaceAngle) Reset() { *m = FaceAngle{} } |
| | | func (m *FaceAngle) String() string { return proto.CompactTextString(m) } |
| | | func (*FaceAngle) ProtoMessage() {} |
| | | func (*FaceAngle) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{1} |
| | | } |
| | | |
| | | func (m *FaceAngle) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_FaceAngle.Unmarshal(m, b) |
| | | } |
| | | func (m *FaceAngle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_FaceAngle.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *FaceAngle) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_FaceAngle.Merge(m, src) |
| | | } |
| | | func (m *FaceAngle) XXX_Size() int { |
| | | return xxx_messageInfo_FaceAngle.Size(m) |
| | | } |
| | | func (m *FaceAngle) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_FaceAngle.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_FaceAngle proto.InternalMessageInfo |
| | | |
| | | func (m *FaceAngle) GetYaw() int32 { |
| | | if m != nil { |
| | | return m.Yaw |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *FaceAngle) GetPitch() int32 { |
| | | if m != nil { |
| | | return m.Pitch |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *FaceAngle) GetRoll() int32 { |
| | | if m != nil { |
| | | return m.Roll |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *FaceAngle) GetConfidence() float32 { |
| | | if m != nil { |
| | | return m.Confidence |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type ThftResult struct { |
| | | Gender int32 `protobuf:"varint,1,opt,name=gender,proto3" json:"gender,omitempty"` |
| | | Age int32 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"` |
| | | Race int32 `protobuf:"varint,3,opt,name=race,proto3" json:"race,omitempty"` |
| | | Beauty int32 `protobuf:"varint,4,opt,name=beauty,proto3" json:"beauty,omitempty"` |
| | | Smile int32 `protobuf:"varint,5,opt,name=smile,proto3" json:"smile,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *ThftResult) Reset() { *m = ThftResult{} } |
| | | func (m *ThftResult) String() string { return proto.CompactTextString(m) } |
| | | func (*ThftResult) ProtoMessage() {} |
| | | func (*ThftResult) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{2} |
| | | } |
| | | |
| | | func (m *ThftResult) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_ThftResult.Unmarshal(m, b) |
| | | } |
| | | func (m *ThftResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_ThftResult.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *ThftResult) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_ThftResult.Merge(m, src) |
| | | } |
| | | func (m *ThftResult) XXX_Size() int { |
| | | return xxx_messageInfo_ThftResult.Size(m) |
| | | } |
| | | func (m *ThftResult) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_ThftResult.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_ThftResult proto.InternalMessageInfo |
| | | |
| | | func (m *ThftResult) GetGender() int32 { |
| | | if m != nil { |
| | | return m.Gender |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *ThftResult) GetAge() int32 { |
| | | if m != nil { |
| | | return m.Age |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *ThftResult) GetRace() int32 { |
| | | if m != nil { |
| | | return m.Race |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *ThftResult) GetBeauty() int32 { |
| | | if m != nil { |
| | | return m.Beauty |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *ThftResult) GetSmile() int32 { |
| | | if m != nil { |
| | | return m.Smile |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type FacePos struct { |
| | | RcFace *Rect `protobuf:"bytes,1,opt,name=rcFace,proto3" json:"rcFace,omitempty"` |
| | | PtLeftEye *Point `protobuf:"bytes,2,opt,name=ptLeftEye,proto3" json:"ptLeftEye,omitempty"` |
| | | PtRightEye *Point `protobuf:"bytes,3,opt,name=ptRightEye,proto3" json:"ptRightEye,omitempty"` |
| | | PtMouth *Point `protobuf:"bytes,4,opt,name=ptMouth,proto3" json:"ptMouth,omitempty"` |
| | | PtNose *Point `protobuf:"bytes,5,opt,name=ptNose,proto3" json:"ptNose,omitempty"` |
| | | FAngle *FaceAngle `protobuf:"bytes,6,opt,name=fAngle,proto3" json:"fAngle,omitempty"` |
| | | Quality int32 `protobuf:"varint,7,opt,name=quality,proto3" json:"quality,omitempty"` |
| | | FacialData []byte `protobuf:"bytes,8,opt,name=facialData,proto3" json:"facialData,omitempty"` |
| | | FaceID uint64 `protobuf:"varint,9,opt,name=faceID,proto3" json:"faceID,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *FacePos) Reset() { *m = FacePos{} } |
| | | func (m *FacePos) String() string { return proto.CompactTextString(m) } |
| | | func (*FacePos) ProtoMessage() {} |
| | | func (*FacePos) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{3} |
| | | } |
| | | |
| | | func (m *FacePos) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_FacePos.Unmarshal(m, b) |
| | | } |
| | | func (m *FacePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_FacePos.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *FacePos) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_FacePos.Merge(m, src) |
| | | } |
| | | func (m *FacePos) XXX_Size() int { |
| | | return xxx_messageInfo_FacePos.Size(m) |
| | | } |
| | | func (m *FacePos) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_FacePos.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_FacePos proto.InternalMessageInfo |
| | | |
| | | func (m *FacePos) GetRcFace() *Rect { |
| | | if m != nil { |
| | | return m.RcFace |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FacePos) GetPtLeftEye() *Point { |
| | | if m != nil { |
| | | return m.PtLeftEye |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FacePos) GetPtRightEye() *Point { |
| | | if m != nil { |
| | | return m.PtRightEye |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FacePos) GetPtMouth() *Point { |
| | | if m != nil { |
| | | return m.PtMouth |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FacePos) GetPtNose() *Point { |
| | | if m != nil { |
| | | return m.PtNose |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FacePos) GetFAngle() *FaceAngle { |
| | | if m != nil { |
| | | return m.FAngle |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FacePos) GetQuality() int32 { |
| | | if m != nil { |
| | | return m.Quality |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *FacePos) GetFacialData() []byte { |
| | | if m != nil { |
| | | return m.FacialData |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FacePos) GetFaceID() uint64 { |
| | | if m != nil { |
| | | return m.FaceID |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type FaceInfo struct { |
| | | RcFace *Rect `protobuf:"bytes,1,opt,name=rcFace,proto3" json:"rcFace,omitempty"` |
| | | PtLeftEye *Point `protobuf:"bytes,2,opt,name=ptLeftEye,proto3" json:"ptLeftEye,omitempty"` |
| | | PtRightEye *Point `protobuf:"bytes,3,opt,name=ptRightEye,proto3" json:"ptRightEye,omitempty"` |
| | | PtMouth *Point `protobuf:"bytes,4,opt,name=ptMouth,proto3" json:"ptMouth,omitempty"` |
| | | PtNose *Point `protobuf:"bytes,5,opt,name=ptNose,proto3" json:"ptNose,omitempty"` |
| | | FAngle *FaceAngle `protobuf:"bytes,6,opt,name=fAngle,proto3" json:"fAngle,omitempty"` |
| | | Quality int32 `protobuf:"varint,7,opt,name=quality,proto3" json:"quality,omitempty"` |
| | | FacialData []byte `protobuf:"bytes,8,opt,name=facialData,proto3" json:"facialData,omitempty"` |
| | | FaceID int64 `protobuf:"varint,9,opt,name=faceID,proto3" json:"faceID,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *FaceInfo) Reset() { *m = FaceInfo{} } |
| | | func (m *FaceInfo) String() string { return proto.CompactTextString(m) } |
| | | func (*FaceInfo) ProtoMessage() {} |
| | | func (*FaceInfo) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{4} |
| | | } |
| | | |
| | | func (m *FaceInfo) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_FaceInfo.Unmarshal(m, b) |
| | | } |
| | | func (m *FaceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_FaceInfo.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *FaceInfo) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_FaceInfo.Merge(m, src) |
| | | } |
| | | func (m *FaceInfo) XXX_Size() int { |
| | | return xxx_messageInfo_FaceInfo.Size(m) |
| | | } |
| | | func (m *FaceInfo) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_FaceInfo.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_FaceInfo proto.InternalMessageInfo |
| | | |
| | | func (m *FaceInfo) GetRcFace() *Rect { |
| | | if m != nil { |
| | | return m.RcFace |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FaceInfo) GetPtLeftEye() *Point { |
| | | if m != nil { |
| | | return m.PtLeftEye |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FaceInfo) GetPtRightEye() *Point { |
| | | if m != nil { |
| | | return m.PtRightEye |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FaceInfo) GetPtMouth() *Point { |
| | | if m != nil { |
| | | return m.PtMouth |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FaceInfo) GetPtNose() *Point { |
| | | if m != nil { |
| | | return m.PtNose |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FaceInfo) GetFAngle() *FaceAngle { |
| | | if m != nil { |
| | | return m.FAngle |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FaceInfo) GetQuality() int32 { |
| | | if m != nil { |
| | | return m.Quality |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *FaceInfo) GetFacialData() []byte { |
| | | if m != nil { |
| | | return m.FacialData |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *FaceInfo) GetFaceID() int64 { |
| | | if m != nil { |
| | | return m.FaceID |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type ObjInfo struct { |
| | | RcObj *Rect `protobuf:"bytes,1,opt,name=rcObj,proto3" json:"rcObj,omitempty"` |
| | | Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"` |
| | | Prob float32 `protobuf:"fixed32,3,opt,name=prob,proto3" json:"prob,omitempty"` |
| | | ObjID uint64 `protobuf:"varint,4,opt,name=objID,proto3" json:"objID,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *ObjInfo) Reset() { *m = ObjInfo{} } |
| | | func (m *ObjInfo) String() string { return proto.CompactTextString(m) } |
| | | func (*ObjInfo) ProtoMessage() {} |
| | | func (*ObjInfo) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{5} |
| | | } |
| | | |
| | | func (m *ObjInfo) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_ObjInfo.Unmarshal(m, b) |
| | | } |
| | | func (m *ObjInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_ObjInfo.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *ObjInfo) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_ObjInfo.Merge(m, src) |
| | | } |
| | | func (m *ObjInfo) XXX_Size() int { |
| | | return xxx_messageInfo_ObjInfo.Size(m) |
| | | } |
| | | func (m *ObjInfo) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_ObjInfo.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_ObjInfo proto.InternalMessageInfo |
| | | |
| | | func (m *ObjInfo) GetRcObj() *Rect { |
| | | if m != nil { |
| | | return m.RcObj |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *ObjInfo) GetTyp() int32 { |
| | | if m != nil { |
| | | return m.Typ |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *ObjInfo) GetProb() float32 { |
| | | if m != nil { |
| | | return m.Prob |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *ObjInfo) GetObjID() uint64 { |
| | | if m != nil { |
| | | return m.ObjID |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | // sdk face property |
| | | type ResultFaceDetect struct { |
| | | Pos *FacePos `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` |
| | | Result *ThftResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` |
| | | Feats []byte `protobuf:"bytes,3,opt,name=feats,proto3" json:"feats,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *ResultFaceDetect) Reset() { *m = ResultFaceDetect{} } |
| | | func (m *ResultFaceDetect) String() string { return proto.CompactTextString(m) } |
| | | func (*ResultFaceDetect) ProtoMessage() {} |
| | | func (*ResultFaceDetect) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{6} |
| | | } |
| | | |
| | | func (m *ResultFaceDetect) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_ResultFaceDetect.Unmarshal(m, b) |
| | | } |
| | | func (m *ResultFaceDetect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_ResultFaceDetect.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *ResultFaceDetect) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_ResultFaceDetect.Merge(m, src) |
| | | } |
| | | func (m *ResultFaceDetect) XXX_Size() int { |
| | | return xxx_messageInfo_ResultFaceDetect.Size(m) |
| | | } |
| | | func (m *ResultFaceDetect) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_ResultFaceDetect.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_ResultFaceDetect proto.InternalMessageInfo |
| | | |
| | | func (m *ResultFaceDetect) GetPos() *FacePos { |
| | | if m != nil { |
| | | return m.Pos |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *ResultFaceDetect) GetResult() *ThftResult { |
| | | if m != nil { |
| | | return m.Result |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *ResultFaceDetect) GetFeats() []byte { |
| | | if m != nil { |
| | | return m.Feats |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | type ParamFacePos struct { |
| | | Faces []*ResultFaceDetect `protobuf:"bytes,1,rep,name=faces,proto3" json:"faces,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *ParamFacePos) Reset() { *m = ParamFacePos{} } |
| | | func (m *ParamFacePos) String() string { return proto.CompactTextString(m) } |
| | | func (*ParamFacePos) ProtoMessage() {} |
| | | func (*ParamFacePos) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{7} |
| | | } |
| | | |
| | | func (m *ParamFacePos) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_ParamFacePos.Unmarshal(m, b) |
| | | } |
| | | func (m *ParamFacePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_ParamFacePos.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *ParamFacePos) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_ParamFacePos.Merge(m, src) |
| | | } |
| | | func (m *ParamFacePos) XXX_Size() int { |
| | | return xxx_messageInfo_ParamFacePos.Size(m) |
| | | } |
| | | func (m *ParamFacePos) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_ParamFacePos.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_ParamFacePos proto.InternalMessageInfo |
| | | |
| | | func (m *ParamFacePos) GetFaces() []*ResultFaceDetect { |
| | | if m != nil { |
| | | return m.Faces |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | type ResultFaceExtCom struct { |
| | | Feats []byte `protobuf:"bytes,1,opt,name=feats,proto3" json:"feats,omitempty"` |
| | | Comp []byte `protobuf:"bytes,2,opt,name=comp,proto3" json:"comp,omitempty"` |
| | | Pos *ResultFaceDetect `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *ResultFaceExtCom) Reset() { *m = ResultFaceExtCom{} } |
| | | func (m *ResultFaceExtCom) String() string { return proto.CompactTextString(m) } |
| | | func (*ResultFaceExtCom) ProtoMessage() {} |
| | | func (*ResultFaceExtCom) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{8} |
| | | } |
| | | |
| | | func (m *ResultFaceExtCom) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_ResultFaceExtCom.Unmarshal(m, b) |
| | | } |
| | | func (m *ResultFaceExtCom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_ResultFaceExtCom.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *ResultFaceExtCom) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_ResultFaceExtCom.Merge(m, src) |
| | | } |
| | | func (m *ResultFaceExtCom) XXX_Size() int { |
| | | return xxx_messageInfo_ResultFaceExtCom.Size(m) |
| | | } |
| | | func (m *ResultFaceExtCom) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_ResultFaceExtCom.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_ResultFaceExtCom proto.InternalMessageInfo |
| | | |
| | | func (m *ResultFaceExtCom) GetFeats() []byte { |
| | | if m != nil { |
| | | return m.Feats |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *ResultFaceExtCom) GetComp() []byte { |
| | | if m != nil { |
| | | return m.Comp |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (m *ResultFaceExtCom) GetPos() *ResultFaceDetect { |
| | | if m != nil { |
| | | return m.Pos |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | type ParamFaceFeature struct { |
| | | ExtComp []*ResultFaceExtCom `protobuf:"bytes,2,rep,name=extComp,proto3" json:"extComp,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *ParamFaceFeature) Reset() { *m = ParamFaceFeature{} } |
| | | func (m *ParamFaceFeature) String() string { return proto.CompactTextString(m) } |
| | | func (*ParamFaceFeature) ProtoMessage() {} |
| | | func (*ParamFaceFeature) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{9} |
| | | } |
| | | |
| | | func (m *ParamFaceFeature) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_ParamFaceFeature.Unmarshal(m, b) |
| | | } |
| | | func (m *ParamFaceFeature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_ParamFaceFeature.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *ParamFaceFeature) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_ParamFaceFeature.Merge(m, src) |
| | | } |
| | | func (m *ParamFaceFeature) XXX_Size() int { |
| | | return xxx_messageInfo_ParamFaceFeature.Size(m) |
| | | } |
| | | func (m *ParamFaceFeature) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_ParamFaceFeature.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_ParamFaceFeature proto.InternalMessageInfo |
| | | |
| | | func (m *ParamFaceFeature) GetExtComp() []*ResultFaceExtCom { |
| | | if m != nil { |
| | | return m.ExtComp |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | // sdk yolo detect |
| | | type ParamYoloObj struct { |
| | | Infos []*ObjInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *ParamYoloObj) Reset() { *m = ParamYoloObj{} } |
| | | func (m *ParamYoloObj) String() string { return proto.CompactTextString(m) } |
| | | func (*ParamYoloObj) ProtoMessage() {} |
| | | func (*ParamYoloObj) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{10} |
| | | } |
| | | |
| | | func (m *ParamYoloObj) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_ParamYoloObj.Unmarshal(m, b) |
| | | } |
| | | func (m *ParamYoloObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_ParamYoloObj.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *ParamYoloObj) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_ParamYoloObj.Merge(m, src) |
| | | } |
| | | func (m *ParamYoloObj) XXX_Size() int { |
| | | return xxx_messageInfo_ParamYoloObj.Size(m) |
| | | } |
| | | func (m *ParamYoloObj) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_ParamYoloObj.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_ParamYoloObj proto.InternalMessageInfo |
| | | |
| | | func (m *ParamYoloObj) GetInfos() []*ObjInfo { |
| | | if m != nil { |
| | | return m.Infos |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | type SoInfo struct { |
| | | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| | | SdkId string `protobuf:"bytes,2,opt,name=sdkId,proto3" json:"sdkId,omitempty"` |
| | | SoName string `protobuf:"bytes,3,opt,name=soName,proto3" json:"soName,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *SoInfo) Reset() { *m = SoInfo{} } |
| | | func (m *SoInfo) String() string { return proto.CompactTextString(m) } |
| | | func (*SoInfo) ProtoMessage() {} |
| | | func (*SoInfo) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_70decb0fb6f436df, []int{11} |
| | | } |
| | | |
| | | func (m *SoInfo) XXX_Unmarshal(b []byte) error { |
| | | return xxx_messageInfo_SoInfo.Unmarshal(m, b) |
| | | } |
| | | func (m *SoInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | return xxx_messageInfo_SoInfo.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *SoInfo) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_SoInfo.Merge(m, src) |
| | | } |
| | | func (m *SoInfo) XXX_Size() int { |
| | | return xxx_messageInfo_SoInfo.Size(m) |
| | | } |
| | | func (m *SoInfo) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_SoInfo.DiscardUnknown(m) |
| | | } |
| | | |
| | | var xxx_messageInfo_SoInfo proto.InternalMessageInfo |
| | | |
| | | func (m *SoInfo) GetId() string { |
| | | if m != nil { |
| | | return m.Id |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (m *SoInfo) GetSdkId() string { |
| | | if m != nil { |
| | | return m.SdkId |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (m *SoInfo) GetSoName() string { |
| | | if m != nil { |
| | | return m.SoName |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func init() { |
| | | proto.RegisterType((*Image)(nil), "protomsg.Image") |
| | | proto.RegisterType((*FaceAngle)(nil), "protomsg.FaceAngle") |
| | | proto.RegisterType((*ThftResult)(nil), "protomsg.ThftResult") |
| | | proto.RegisterType((*FacePos)(nil), "protomsg.FacePos") |
| | | proto.RegisterType((*FaceInfo)(nil), "protomsg.FaceInfo") |
| | | proto.RegisterType((*ObjInfo)(nil), "protomsg.ObjInfo") |
| | | proto.RegisterType((*ResultFaceDetect)(nil), "protomsg.ResultFaceDetect") |
| | | proto.RegisterType((*ParamFacePos)(nil), "protomsg.ParamFacePos") |
| | | proto.RegisterType((*ResultFaceExtCom)(nil), "protomsg.ResultFaceExtCom") |
| | | proto.RegisterType((*ParamFaceFeature)(nil), "protomsg.ParamFaceFeature") |
| | | proto.RegisterType((*ParamYoloObj)(nil), "protomsg.ParamYoloObj") |
| | | proto.RegisterType((*SoInfo)(nil), "protomsg.SoInfo") |
| | | } |
| | | |
| | | func init() { proto.RegisterFile("sdk.proto", fileDescriptor_70decb0fb6f436df) } |
| | | |
| | | var fileDescriptor_70decb0fb6f436df = []byte{ |
| | | // 703 bytes of a gzipped FileDescriptorProto |
| | | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x54, 0x41, 0x6f, 0xd3, 0x4c, |
| | | 0x10, 0x95, 0x93, 0xd8, 0xa9, 0x27, 0x55, 0xbf, 0x7e, 0x4b, 0x85, 0xac, 0x0a, 0xa1, 0xc8, 0x20, |
| | | 0x1a, 0x44, 0x29, 0x28, 0x20, 0x71, 0x05, 0x91, 0x56, 0x44, 0x82, 0x36, 0x5a, 0xb8, 0x70, 0xdc, |
| | | 0xac, 0xd7, 0x89, 0x53, 0xdb, 0x6b, 0xec, 0x8d, 0xda, 0x88, 0x5f, 0xc0, 0xff, 0x84, 0xff, 0x81, |
| | | 0x66, 0x77, 0x1d, 0xbb, 0x52, 0xcb, 0x89, 0x23, 0xa7, 0xcc, 0xec, 0x3c, 0xe7, 0xbd, 0x79, 0xb3, |
| | | 0xb3, 0xe0, 0x57, 0xd1, 0xe5, 0x49, 0x51, 0x4a, 0x25, 0xc9, 0x8e, 0xfe, 0xc9, 0xaa, 0xc5, 0x21, |
| | | 0xcc, 0x59, 0x25, 0xcc, 0x69, 0xf8, 0xc3, 0x01, 0x77, 0x9a, 0xb1, 0x85, 0x20, 0x07, 0xe0, 0x5e, |
| | | 0x25, 0x91, 0x5a, 0x06, 0xce, 0xd0, 0x19, 0xb9, 0xd4, 0x24, 0xe4, 0x3e, 0x78, 0x4b, 0x91, 0x2c, |
| | | 0x96, 0x2a, 0xe8, 0xe8, 0x63, 0x9b, 0x11, 0x02, 0xbd, 0x88, 0x29, 0x16, 0x74, 0x87, 0xce, 0x68, |
| | | 0x97, 0xea, 0x98, 0x3c, 0x00, 0x5f, 0x25, 0x99, 0xa8, 0x14, 0xcb, 0x8a, 0xa0, 0x37, 0x74, 0x46, |
| | | 0x3e, 0x6d, 0x0e, 0xc8, 0x1e, 0x74, 0x92, 0x28, 0x70, 0x87, 0xce, 0xa8, 0x4b, 0x3b, 0x49, 0x44, |
| | | 0xf6, 0xa1, 0xcb, 0x93, 0x28, 0xf0, 0x34, 0x0e, 0xc3, 0x70, 0x01, 0xfe, 0x19, 0xe3, 0xe2, 0x5d, |
| | | 0xbe, 0x48, 0x05, 0x96, 0x37, 0xec, 0xca, 0x8a, 0xc1, 0x10, 0x05, 0x16, 0x89, 0xe2, 0x4b, 0xab, |
| | | 0xc4, 0x24, 0x28, 0xa4, 0x94, 0x69, 0xaa, 0x85, 0xb8, 0x54, 0xc7, 0xe4, 0x21, 0x00, 0x97, 0x79, |
| | | 0x9c, 0x44, 0x22, 0xe7, 0x42, 0x2b, 0xe9, 0xd0, 0xd6, 0x49, 0x78, 0x0d, 0xf0, 0x65, 0x19, 0x2b, |
| | | 0x2a, 0xaa, 0x75, 0xaa, 0xb0, 0xc5, 0x85, 0xc8, 0x23, 0x51, 0x5a, 0x32, 0x9b, 0xa1, 0x02, 0xb6, |
| | | 0x10, 0x96, 0x0d, 0x43, 0xcd, 0xc5, 0xb8, 0xd8, 0x72, 0x31, 0x2e, 0xf0, 0xeb, 0xb9, 0x60, 0x6b, |
| | | 0xb5, 0xd1, 0x3c, 0x2e, 0xb5, 0x19, 0xaa, 0xad, 0xb2, 0x24, 0x15, 0xba, 0x63, 0x97, 0x9a, 0x24, |
| | | 0xfc, 0xd9, 0x81, 0x3e, 0xf6, 0x38, 0x93, 0x15, 0x79, 0x02, 0x5e, 0xc9, 0x31, 0xd1, 0xbc, 0x83, |
| | | 0xf1, 0xde, 0x49, 0x3d, 0xa1, 0x13, 0x2a, 0xb8, 0xa2, 0xb6, 0x4a, 0x9e, 0x83, 0x5f, 0xa8, 0x8f, |
| | | 0x22, 0x56, 0xa7, 0x1b, 0xa3, 0x66, 0x30, 0xfe, 0xaf, 0x81, 0xce, 0x64, 0x92, 0x2b, 0xda, 0x20, |
| | | 0xc8, 0x0b, 0x80, 0x42, 0x51, 0x1c, 0x12, 0xe2, 0xbb, 0xb7, 0xe3, 0x5b, 0x10, 0xf2, 0x14, 0xfa, |
| | | 0x85, 0xfa, 0x24, 0xd7, 0x6a, 0xa9, 0x5b, 0xb8, 0x05, 0x5d, 0xd7, 0xc9, 0x11, 0x78, 0x85, 0x3a, |
| | | 0x97, 0x95, 0xe9, 0xea, 0x16, 0xa4, 0x2d, 0x93, 0x67, 0xe0, 0xc5, 0x7a, 0x8e, 0x7a, 0xbe, 0x83, |
| | | 0xf1, 0xbd, 0x06, 0xb8, 0x1d, 0x31, 0xb5, 0x10, 0x12, 0x40, 0xff, 0xdb, 0x9a, 0xa5, 0x89, 0xda, |
| | | 0x04, 0x7d, 0x6d, 0x56, 0x9d, 0xe2, 0x20, 0x63, 0xc6, 0x13, 0x96, 0x4e, 0xf0, 0xae, 0xed, 0xe8, |
| | | 0xbb, 0xd6, 0x3a, 0x41, 0xf3, 0x63, 0xc6, 0xc5, 0x74, 0x12, 0xf8, 0x43, 0x67, 0xd4, 0xa3, 0x36, |
| | | 0x0b, 0x7f, 0x75, 0x60, 0x07, 0x79, 0xa6, 0x79, 0x2c, 0xff, 0xf9, 0xfc, 0xb7, 0x7d, 0xee, 0x6e, |
| | | 0x7d, 0xbe, 0x84, 0xfe, 0xc5, 0x7c, 0xa5, 0x5d, 0x7e, 0x0c, 0x6e, 0xc9, 0x2f, 0xe6, 0xab, 0x3b, |
| | | 0x4c, 0x36, 0x45, 0xdc, 0x29, 0xb5, 0x29, 0xea, 0x9d, 0x52, 0x9b, 0x02, 0x77, 0xaa, 0x28, 0xe5, |
| | | 0x5c, 0x1b, 0xd8, 0xa1, 0x3a, 0xc6, 0xdd, 0x91, 0xf3, 0xd5, 0x74, 0xa2, 0x7d, 0xea, 0x51, 0x93, |
| | | 0x84, 0xdf, 0x61, 0xdf, 0x6c, 0x2c, 0x76, 0x36, 0x11, 0x4a, 0x70, 0x45, 0x1e, 0x41, 0xb7, 0x90, |
| | | 0x95, 0xe5, 0xfc, 0xff, 0x66, 0xf3, 0x33, 0x59, 0x51, 0xac, 0x92, 0x63, 0xf0, 0x4a, 0xfd, 0xa1, |
| | | 0x9d, 0xea, 0x41, 0x83, 0x6b, 0x9e, 0x01, 0x6a, 0x31, 0x48, 0x1e, 0x0b, 0xa6, 0x2a, 0xfb, 0xb4, |
| | | 0x99, 0x24, 0x7c, 0x0b, 0xbb, 0x33, 0x56, 0xb2, 0xac, 0x5e, 0xde, 0x97, 0xe0, 0xa2, 0x07, 0x48, |
| | | 0xdd, 0x1d, 0x0d, 0xc6, 0x87, 0xed, 0x76, 0x6f, 0x6a, 0xa4, 0x06, 0x18, 0xae, 0xda, 0xf2, 0x4f, |
| | | 0xaf, 0xd5, 0x7b, 0x99, 0x35, 0x5c, 0x4e, 0x8b, 0x0b, 0x2d, 0xe1, 0x32, 0x33, 0x2e, 0xed, 0x52, |
| | | 0x1d, 0x93, 0x63, 0xd3, 0xa8, 0xb9, 0x66, 0x7f, 0x62, 0x43, 0x58, 0xf8, 0x01, 0xf6, 0xb7, 0x6a, |
| | | 0xcf, 0x04, 0x53, 0xeb, 0x52, 0x90, 0xd7, 0xd0, 0x17, 0x9a, 0x15, 0xff, 0xf8, 0x4e, 0xcd, 0x46, |
| | | 0x18, 0xad, 0xa1, 0xe1, 0x1b, 0xdb, 0xf7, 0x57, 0x99, 0x4a, 0x1c, 0xe0, 0x11, 0xb8, 0x49, 0x1e, |
| | | 0xcb, 0xba, 0xef, 0x96, 0xe5, 0xf6, 0x22, 0x50, 0x53, 0x0f, 0xcf, 0xc0, 0xfb, 0x2c, 0xf5, 0xcd, |
| | | 0x30, 0x0f, 0xbf, 0xa3, 0xdf, 0x79, 0x7c, 0xf8, 0xf1, 0x65, 0x8c, 0x2e, 0xa7, 0x91, 0xee, 0xcf, |
| | | 0xa7, 0x26, 0xc1, 0x2b, 0x56, 0xc9, 0x73, 0x96, 0x99, 0x55, 0xf2, 0xa9, 0xcd, 0xe6, 0x9e, 0x26, |
| | | 0x78, 0xf5, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x4a, 0xab, 0xaa, 0xb7, 0xca, 0x06, 0x00, 0x00, |
| | | } |