From 3abe5bea435d4a38399693b17b37b5e445ff7445 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期三, 21 八月 2019 19:49:53 +0800 Subject: [PATCH] merge --- sdk.pb.go | 215 ++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 171 insertions(+), 44 deletions(-) diff --git a/sdk.pb.go b/sdk.pb.go index 62365a4..4922cc2 100644 --- a/sdk.pb.go +++ b/sdk.pb.go @@ -260,6 +260,7 @@ 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"` } func (m *FacePos) Reset() { *m = FacePos{} } @@ -349,6 +350,13 @@ return m.FacialData } return nil +} + +func (m *FacePos) GetFaceID() uint64 { + if m != nil { + return m.FaceID + } + return 0 } type FaceInfo struct { @@ -463,6 +471,7 @@ 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"` } func (m *ObjInfo) Reset() { *m = ObjInfo{} } @@ -515,6 +524,13 @@ 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 } @@ -773,6 +789,61 @@ return nil } +type SoInfo struct { + Id int32 `protobuf:"varint,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() int32 { + if m != nil { + return m.Id + } + return 0 +} + +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") @@ -785,55 +856,57 @@ 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{ - // 687 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02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x83, 0xf1, - 0x66, 0xdb, 0xd8, 0x65, 0x8d, 0x54, 0x03, 0xfd, 0xa3, 0xb6, 0xfc, 0xbd, 0x13, 0xf9, 0x52, 0x64, - 0x0d, 0x97, 0xd5, 0xe2, 0x42, 0xf3, 0x81, 0xc8, 0x74, 0x3f, 0x56, 0xa9, 0x8a, 0xc9, 0xb6, 0x36, - 0xaa, 0x1f, 0xd4, 0x9f, 0xd8, 0x10, 0xe6, 0xbf, 0x82, 0xf5, 0x0b, 0xb5, 0xfb, 0x9c, 0xc9, 0x79, - 0xc9, 0xc9, 0x13, 0xe8, 0x71, 0xc5, 0x8a, 0x17, 0x5f, 0xab, 0x59, 0x0b, 0xa3, 0x35, 0xd4, 0x7f, - 0x6a, 0x7c, 0x7f, 0x10, 0xa9, 0xc0, 0x51, 0x6d, 0x81, 0x9d, 0xe4, 0x91, 0xa8, 0x7d, 0xb7, 0x5a, - 0x6e, 0x46, 0x4e, 0x75, 0xfd, 0x85, 0xfb, 0xed, 0xcc, 0xb3, 0x4e, 0xcf, 0x3c, 0xeb, 0xe7, 0x99, - 0x67, 0x7d, 0x3d, 0xf7, 0x96, 0x4e, 0xcf, 0xbd, 0xa5, 0x1f, 0xe7, 0xde, 0xd2, 0xd4, 0x51, 0x9f, - 0x3c, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x57, 0x93, 0xa7, 0xe2, 0x6e, 0x06, 0x00, 0x00, + // 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,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, 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, 0x79, 0x5b, 0xf1, 0xe1, 0xc7, 0x97, 0x31, 0xba, 0x9c, 0x46, 0xba, 0x3f, 0x9f, + 0x9a, 0x04, 0xaf, 0x58, 0x25, 0xcf, 0x59, 0x66, 0x56, 0xc9, 0xa7, 0x36, 0x9b, 0x7b, 0x9a, 0xe0, + 0xd5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x99, 0x69, 0x35, 0xca, 0x06, 0x00, 0x00, } func (m *Image) Marshal() (dAtA []byte, err error) { @@ -1055,6 +1128,11 @@ i = encodeVarintSdk(dAtA, i, uint64(len(m.FacialData))) i += copy(dAtA[i:], m.FacialData) } + if m.FaceID != 0 { + dAtA[i] = 0x48 + i++ + i = encodeVarintSdk(dAtA, i, uint64(m.FaceID)) + } return i, nil } @@ -1187,6 +1265,11 @@ i++ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Prob)))) i += 4 + } + if m.ObjID != 0 { + dAtA[i] = 0x20 + i++ + i = encodeVarintSdk(dAtA, i, uint64(m.ObjID)) } return i, nil } @@ -1486,6 +1569,9 @@ if l > 0 { n += 1 + l + sovSdk(uint64(l)) } + if m.FaceID != 0 { + n += 1 + sovSdk(uint64(m.FaceID)) + } return n } @@ -1547,6 +1633,9 @@ } if m.Prob != 0 { n += 5 + } + if m.ObjID != 0 { + n += 1 + sovSdk(uint64(m.ObjID)) } return n } @@ -2426,6 +2515,25 @@ m.FacialData = []byte{} } iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FaceID", wireType) + } + m.FaceID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSdk + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FaceID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipSdk(dAtA[iNdEx:]) @@ -2886,6 +2994,25 @@ v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) iNdEx += 4 m.Prob = float32(math.Float32frombits(v)) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ObjID", wireType) + } + m.ObjID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSdk + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ObjID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipSdk(dAtA[iNdEx:]) -- Gitblit v1.8.0