From 0514f66a2b99f8f2e946fe05f20d75ec6ec2ba4d Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 25 六月 2019 16:05:51 +0800
Subject: [PATCH] update feat

---
 sdk.pb.go |  707 +++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 426 insertions(+), 281 deletions(-)

diff --git a/sdk.pb.go b/sdk.pb.go
index fc9c4ac..a071d71 100644
--- a/sdk.pb.go
+++ b/sdk.pb.go
@@ -24,9 +24,11 @@
 
 // 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"`
+	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"`
 }
 
 func (m *Image) Reset()         { *m = Image{} }
@@ -81,6 +83,20 @@
 		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
 }
 
 type FaceAngle struct {
@@ -592,15 +608,75 @@
 	return nil
 }
 
+type ResultFaceExtCom struct {
+	Pos   []byte `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"`
+	Feats []byte `protobuf:"bytes,2,opt,name=feats,proto3" json:"feats,omitempty"`
+	Comp  []byte `protobuf:"bytes,3,opt,name=comp,proto3" json:"comp,omitempty"`
+}
+
+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 m.Unmarshal(b)
+}
+func (m *ResultFaceExtCom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_ResultFaceExtCom.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *ResultFaceExtCom) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_ResultFaceExtCom.Merge(m, src)
+}
+func (m *ResultFaceExtCom) XXX_Size() int {
+	return m.Size()
+}
+func (m *ResultFaceExtCom) XXX_DiscardUnknown() {
+	xxx_messageInfo_ResultFaceExtCom.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResultFaceExtCom proto.InternalMessageInfo
+
+func (m *ResultFaceExtCom) GetPos() []byte {
+	if m != nil {
+		return m.Pos
+	}
+	return nil
+}
+
+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
+}
+
 type ParamFaceFeature struct {
-	Feats [][]byte `protobuf:"bytes,1,rep,name=feats,proto3" json:"feats,omitempty"`
+	ExtComp []*ResultFaceExtCom `protobuf:"bytes,1,rep,name=extComp,proto3" json:"extComp,omitempty"`
 }
 
 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{8}
+	return fileDescriptor_70decb0fb6f436df, []int{9}
 }
 func (m *ParamFaceFeature) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -629,62 +705,9 @@
 
 var xxx_messageInfo_ParamFaceFeature proto.InternalMessageInfo
 
-func (m *ParamFaceFeature) GetFeats() [][]byte {
+func (m *ParamFaceFeature) GetExtComp() []*ResultFaceExtCom {
 	if m != nil {
-		return m.Feats
-	}
-	return nil
-}
-
-// sdk face extract
-type ParamFaceCompare struct {
-	Feat1 []byte `protobuf:"bytes,1,opt,name=feat1,proto3" json:"feat1,omitempty"`
-	Feat2 []byte `protobuf:"bytes,2,opt,name=feat2,proto3" json:"feat2,omitempty"`
-}
-
-func (m *ParamFaceCompare) Reset()         { *m = ParamFaceCompare{} }
-func (m *ParamFaceCompare) String() string { return proto.CompactTextString(m) }
-func (*ParamFaceCompare) ProtoMessage()    {}
-func (*ParamFaceCompare) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{9}
-}
-func (m *ParamFaceCompare) XXX_Unmarshal(b []byte) error {
-	return m.Unmarshal(b)
-}
-func (m *ParamFaceCompare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
-	if deterministic {
-		return xxx_messageInfo_ParamFaceCompare.Marshal(b, m, deterministic)
-	} else {
-		b = b[:cap(b)]
-		n, err := m.MarshalTo(b)
-		if err != nil {
-			return nil, err
-		}
-		return b[:n], nil
-	}
-}
-func (m *ParamFaceCompare) XXX_Merge(src proto.Message) {
-	xxx_messageInfo_ParamFaceCompare.Merge(m, src)
-}
-func (m *ParamFaceCompare) XXX_Size() int {
-	return m.Size()
-}
-func (m *ParamFaceCompare) XXX_DiscardUnknown() {
-	xxx_messageInfo_ParamFaceCompare.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ParamFaceCompare proto.InternalMessageInfo
-
-func (m *ParamFaceCompare) GetFeat1() []byte {
-	if m != nil {
-		return m.Feat1
-	}
-	return nil
-}
-
-func (m *ParamFaceCompare) GetFeat2() []byte {
-	if m != nil {
-		return m.Feat2
+		return m.ExtComp
 	}
 	return nil
 }
@@ -743,54 +766,57 @@
 	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((*ParamFaceCompare)(nil), "protomsg.ParamFaceCompare")
 	proto.RegisterType((*ParamYoloObj)(nil), "protomsg.ParamYoloObj")
 }
 
 func init() { proto.RegisterFile("sdk.proto", fileDescriptor_70decb0fb6f436df) }
 
 var fileDescriptor_70decb0fb6f436df = []byte{
-	// 624 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x54, 0x4d, 0x6f, 0xd3, 0x4c,
-	0x10, 0xae, 0x93, 0xda, 0x69, 0xa6, 0xd5, 0xfb, 0x96, 0xa5, 0x42, 0x56, 0x0f, 0x56, 0x64, 0x10,
-	0x35, 0x02, 0x0a, 0x0d, 0x07, 0x6e, 0x88, 0x8f, 0x52, 0xa9, 0x12, 0xd0, 0x68, 0x05, 0x07, 0x8e,
-	0x6b, 0x67, 0xfd, 0x51, 0x1c, 0xaf, 0xb1, 0x37, 0x2a, 0xfe, 0x17, 0xfc, 0x2c, 0x0e, 0x1c, 0x7a,
-	0xe4, 0x88, 0x5a, 0xf1, 0x3f, 0xd0, 0xec, 0xae, 0x6b, 0x57, 0x0a, 0x27, 0xae, 0x9c, 0x32, 0xcf,
-	0xcc, 0xe3, 0xf9, 0x78, 0x66, 0x27, 0x30, 0xae, 0xe7, 0x9f, 0xf6, 0xcb, 0x4a, 0x48, 0x41, 0x36,
-	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3, 0x21, 0x97, 0x3c, 0x92, 0xe4,
-	0x36, 0x0c, 0x4b, 0x51, 0x9b, 0xec, 0x37, 0xae, 0x8f, 0x39, 0x13, 0x35, 0xc5, 0x28, 0x79, 0x00,
-	0x4e, 0xa5, 0x3e, 0x34, 0xfb, 0xdb, 0xe9, 0x78, 0xdd, 0x61, 0x53, 0xc3, 0xf1, 0x9f, 0xc3, 0xd6,
-	0x8c, 0x55, 0x6c, 0xd1, 0x1e, 0xde, 0x63, 0xb0, 0x71, 0x2e, 0x2c, 0x32, 0x0c, 0x36, 0xa7, 0xbb,
-	0xfd, 0x11, 0xae, 0x77, 0x43, 0x35, 0xd1, 0x0f, 0x60, 0xfb, 0x2a, 0xc3, 0x11, 0x67, 0x72, 0x59,
-	0xa9, 0xff, 0xbb, 0x98, 0x33, 0xa9, 0xb3, 0x6c, 0x51, 0x0d, 0xfc, 0x67, 0x3d, 0xe6, 0x2b, 0xb1,
-	0x28, 0x59, 0xc7, 0x3c, 0x50, 0x43, 0x19, 0xe6, 0x41, 0xeb, 0x9d, 0xaa, 0x11, 0x8c, 0x77, 0xea,
-	0x3f, 0x35, 0xbd, 0x7e, 0x14, 0xb9, 0x40, 0x21, 0xf7, 0xc0, 0xce, 0x8a, 0x58, 0xb4, 0xbd, 0xf6,
-	0x04, 0x31, 0x0b, 0xa1, 0x3a, 0xfe, 0xd2, 0xfd, 0x76, 0xe1, 0x59, 0xe7, 0x17, 0x9e, 0xf5, 0xf3,
-	0xc2, 0xb3, 0xbe, 0x5e, 0x7a, 0x6b, 0xe7, 0x97, 0xde, 0xda, 0x8f, 0x4b, 0x6f, 0x2d, 0x74, 0xd4,
-	0x27, 0x4f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xba, 0xd3, 0x09, 0x2b, 0xcb, 0x05, 0x00, 0x00,
+	// 665 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0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fb, 0x8d, 0xaa, 0x0d, 0x70,
+	0x62, 0x29, 0xb0, 0xd6, 0xa2, 0xfa, 0xbc, 0x49, 0xc8, 0x78, 0xa8, 0xf2, 0xb2, 0xfd, 0x5f, 0xa4,
+	0x38, 0x78, 0x0b, 0xeb, 0x97, 0x8a, 0xf6, 0xa5, 0xc0, 0x69, 0x25, 0xd9, 0x73, 0xe8, 0x4a, 0x7d,
+	0x73, 0xf9, 0x37, 0x5d, 0x0d, 0x39, 0x6f, 0xa1, 0xc1, 0x0b, 0xe3, 0xed, 0x93, 0xca, 0x14, 0x35,
+	0x7e, 0x0b, 0x9c, 0xb4, 0x88, 0x55, 0xeb, 0x6d, 0xa1, 0x81, 0x66, 0x80, 0xbc, 0xa9, 0xbf, 0xf6,
+	0xbe, 0x9d, 0xfb, 0xd6, 0xd9, 0xb9, 0x6f, 0xfd, 0x3c, 0xf7, 0xad, 0xaf, 0x17, 0xfe, 0xd2, 0xd9,
+	0x85, 0xbf, 0xf4, 0xe3, 0xc2, 0x5f, 0x1a, 0xbb, 0xfa, 0x93, 0x67, 0xbf, 0x03, 0x00, 0x00, 0xff,
+	0xff, 0x82, 0x5c, 0xa6, 0x5e, 0x29, 0x06, 0x00, 0x00,
 }
 
 func (m *Image) Marshal() (dAtA []byte, err error) {
@@ -823,6 +849,17 @@
 		i++
 		i = encodeVarintSdk(dAtA, i, uint64(len(m.Data)))
 		i += copy(dAtA[i:], m.Data)
+	}
+	if len(m.Timestamp) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Timestamp)))
+		i += copy(dAtA[i:], m.Timestamp)
+	}
+	if m.Id != 0 {
+		dAtA[i] = 0x28
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Id))
 	}
 	return i, nil
 }
@@ -1199,6 +1236,42 @@
 	return i, nil
 }
 
+func (m *ResultFaceExtCom) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *ResultFaceExtCom) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Pos) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Pos)))
+		i += copy(dAtA[i:], m.Pos)
+	}
+	if len(m.Feats) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feats)))
+		i += copy(dAtA[i:], m.Feats)
+	}
+	if len(m.Comp) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Comp)))
+		i += copy(dAtA[i:], m.Comp)
+	}
+	return i, nil
+}
+
 func (m *ParamFaceFeature) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
@@ -1214,43 +1287,17 @@
 	_ = i
 	var l int
 	_ = l
-	if len(m.Feats) > 0 {
-		for _, b := range m.Feats {
+	if len(m.ExtComp) > 0 {
+		for _, msg := range m.ExtComp {
 			dAtA[i] = 0xa
 			i++
-			i = encodeVarintSdk(dAtA, i, uint64(len(b)))
-			i += copy(dAtA[i:], b)
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
 		}
-	}
-	return i, nil
-}
-
-func (m *ParamFaceCompare) Marshal() (dAtA []byte, err error) {
-	size := m.Size()
-	dAtA = make([]byte, size)
-	n, err := m.MarshalTo(dAtA)
-	if err != nil {
-		return nil, err
-	}
-	return dAtA[:n], nil
-}
-
-func (m *ParamFaceCompare) MarshalTo(dAtA []byte) (int, error) {
-	var i int
-	_ = i
-	var l int
-	_ = l
-	if len(m.Feat1) > 0 {
-		dAtA[i] = 0xa
-		i++
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feat1)))
-		i += copy(dAtA[i:], m.Feat1)
-	}
-	if len(m.Feat2) > 0 {
-		dAtA[i] = 0x12
-		i++
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feat2)))
-		i += copy(dAtA[i:], m.Feat2)
 	}
 	return i, nil
 }
@@ -1309,6 +1356,13 @@
 	l = len(m.Data)
 	if l > 0 {
 		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.Timestamp)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	if m.Id != 0 {
+		n += 1 + sovSdk(uint64(m.Id))
 	}
 	return n
 }
@@ -1492,34 +1546,38 @@
 	return n
 }
 
+func (m *ResultFaceExtCom) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Pos)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.Feats)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.Comp)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	return n
+}
+
 func (m *ParamFaceFeature) Size() (n int) {
 	if m == nil {
 		return 0
 	}
 	var l int
 	_ = l
-	if len(m.Feats) > 0 {
-		for _, b := range m.Feats {
-			l = len(b)
+	if len(m.ExtComp) > 0 {
+		for _, e := range m.ExtComp {
+			l = e.Size()
 			n += 1 + l + sovSdk(uint64(l))
 		}
-	}
-	return n
-}
-
-func (m *ParamFaceCompare) Size() (n int) {
-	if m == nil {
-		return 0
-	}
-	var l int
-	_ = l
-	l = len(m.Feat1)
-	if l > 0 {
-		n += 1 + l + sovSdk(uint64(l))
-	}
-	l = len(m.Feat2)
-	if l > 0 {
-		n += 1 + l + sovSdk(uint64(l))
 	}
 	return n
 }
@@ -1653,6 +1711,57 @@
 				m.Data = []byte{}
 			}
 			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthSdk
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Timestamp = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 5:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			m.Id = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Id |= int64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
 		default:
 			iNdEx = preIndex
 			skippy, err := skipSdk(dAtA[iNdEx:])
@@ -2940,6 +3049,161 @@
 	}
 	return nil
 }
+func (m *ResultFaceExtCom) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowSdk
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: ResultFaceExtCom: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: ResultFaceExtCom: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType)
+			}
+			var byteLen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				byteLen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if byteLen < 0 {
+				return ErrInvalidLengthSdk
+			}
+			postIndex := iNdEx + byteLen
+			if postIndex < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Pos = append(m.Pos[:0], dAtA[iNdEx:postIndex]...)
+			if m.Pos == nil {
+				m.Pos = []byte{}
+			}
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Feats", wireType)
+			}
+			var byteLen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				byteLen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if byteLen < 0 {
+				return ErrInvalidLengthSdk
+			}
+			postIndex := iNdEx + byteLen
+			if postIndex < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Feats = append(m.Feats[:0], dAtA[iNdEx:postIndex]...)
+			if m.Feats == nil {
+				m.Feats = []byte{}
+			}
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Comp", wireType)
+			}
+			var byteLen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				byteLen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if byteLen < 0 {
+				return ErrInvalidLengthSdk
+			}
+			postIndex := iNdEx + byteLen
+			if postIndex < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Comp = append(m.Comp[:0], dAtA[iNdEx:postIndex]...)
+			if m.Comp == nil {
+				m.Comp = []byte{}
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipSdk(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
 func (m *ParamFaceFeature) Unmarshal(dAtA []byte) error {
 	l := len(dAtA)
 	iNdEx := 0
@@ -2971,9 +3235,9 @@
 		switch fieldNum {
 		case 1:
 			if wireType != 2 {
-				return fmt.Errorf("proto: wrong wireType = %d for field Feats", wireType)
+				return fmt.Errorf("proto: wrong wireType = %d for field ExtComp", wireType)
 			}
-			var byteLen int
+			var msglen int
 			for shift := uint(0); ; shift += 7 {
 				if shift >= 64 {
 					return ErrIntOverflowSdk
@@ -2983,143 +3247,24 @@
 				}
 				b := dAtA[iNdEx]
 				iNdEx++
-				byteLen |= int(b&0x7F) << shift
+				msglen |= int(b&0x7F) << shift
 				if b < 0x80 {
 					break
 				}
 			}
-			if byteLen < 0 {
+			if msglen < 0 {
 				return ErrInvalidLengthSdk
 			}
-			postIndex := iNdEx + byteLen
+			postIndex := iNdEx + msglen
 			if postIndex < 0 {
 				return ErrInvalidLengthSdk
 			}
 			if postIndex > l {
 				return io.ErrUnexpectedEOF
 			}
-			m.Feats = append(m.Feats, make([]byte, postIndex-iNdEx))
-			copy(m.Feats[len(m.Feats)-1], dAtA[iNdEx:postIndex])
-			iNdEx = postIndex
-		default:
-			iNdEx = preIndex
-			skippy, err := skipSdk(dAtA[iNdEx:])
-			if err != nil {
+			m.ExtComp = append(m.ExtComp, &ResultFaceExtCom{})
+			if err := m.ExtComp[len(m.ExtComp)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 				return err
-			}
-			if skippy < 0 {
-				return ErrInvalidLengthSdk
-			}
-			if (iNdEx + skippy) < 0 {
-				return ErrInvalidLengthSdk
-			}
-			if (iNdEx + skippy) > l {
-				return io.ErrUnexpectedEOF
-			}
-			iNdEx += skippy
-		}
-	}
-
-	if iNdEx > l {
-		return io.ErrUnexpectedEOF
-	}
-	return nil
-}
-func (m *ParamFaceCompare) Unmarshal(dAtA []byte) error {
-	l := len(dAtA)
-	iNdEx := 0
-	for iNdEx < l {
-		preIndex := iNdEx
-		var wire uint64
-		for shift := uint(0); ; shift += 7 {
-			if shift >= 64 {
-				return ErrIntOverflowSdk
-			}
-			if iNdEx >= l {
-				return io.ErrUnexpectedEOF
-			}
-			b := dAtA[iNdEx]
-			iNdEx++
-			wire |= uint64(b&0x7F) << shift
-			if b < 0x80 {
-				break
-			}
-		}
-		fieldNum := int32(wire >> 3)
-		wireType := int(wire & 0x7)
-		if wireType == 4 {
-			return fmt.Errorf("proto: ParamFaceCompare: wiretype end group for non-group")
-		}
-		if fieldNum <= 0 {
-			return fmt.Errorf("proto: ParamFaceCompare: illegal tag %d (wire type %d)", fieldNum, wire)
-		}
-		switch fieldNum {
-		case 1:
-			if wireType != 2 {
-				return fmt.Errorf("proto: wrong wireType = %d for field Feat1", wireType)
-			}
-			var byteLen int
-			for shift := uint(0); ; shift += 7 {
-				if shift >= 64 {
-					return ErrIntOverflowSdk
-				}
-				if iNdEx >= l {
-					return io.ErrUnexpectedEOF
-				}
-				b := dAtA[iNdEx]
-				iNdEx++
-				byteLen |= int(b&0x7F) << shift
-				if b < 0x80 {
-					break
-				}
-			}
-			if byteLen < 0 {
-				return ErrInvalidLengthSdk
-			}
-			postIndex := iNdEx + byteLen
-			if postIndex < 0 {
-				return ErrInvalidLengthSdk
-			}
-			if postIndex > l {
-				return io.ErrUnexpectedEOF
-			}
-			m.Feat1 = append(m.Feat1[:0], dAtA[iNdEx:postIndex]...)
-			if m.Feat1 == nil {
-				m.Feat1 = []byte{}
-			}
-			iNdEx = postIndex
-		case 2:
-			if wireType != 2 {
-				return fmt.Errorf("proto: wrong wireType = %d for field Feat2", wireType)
-			}
-			var byteLen int
-			for shift := uint(0); ; shift += 7 {
-				if shift >= 64 {
-					return ErrIntOverflowSdk
-				}
-				if iNdEx >= l {
-					return io.ErrUnexpectedEOF
-				}
-				b := dAtA[iNdEx]
-				iNdEx++
-				byteLen |= int(b&0x7F) << shift
-				if b < 0x80 {
-					break
-				}
-			}
-			if byteLen < 0 {
-				return ErrInvalidLengthSdk
-			}
-			postIndex := iNdEx + byteLen
-			if postIndex < 0 {
-				return ErrInvalidLengthSdk
-			}
-			if postIndex > l {
-				return io.ErrUnexpectedEOF
-			}
-			m.Feat2 = append(m.Feat2[:0], dAtA[iNdEx:postIndex]...)
-			if m.Feat2 == nil {
-				m.Feat2 = []byte{}
 			}
 			iNdEx = postIndex
 		default:

--
Gitblit v1.8.0