From 306c460bd42a11b1c9d41572cf755f957cdc756b Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期一, 17 六月 2019 16:05:33 +0800
Subject: [PATCH] split protomsg.proto
---
sdk.pb.go | 3112 ++++++++++++++++++++++
protomsg.proto | 78
sdk.proto | 69
base.pb.go | 620 ++++
protomsg.pb.go | 4408 ++-----------------------------
base.proto | 14
6 files changed, 4,159 insertions(+), 4,142 deletions(-)
diff --git a/base.pb.go b/base.pb.go
new file mode 100644
index 0000000..2034d85
--- /dev/null
+++ b/base.pb.go
@@ -0,0 +1,620 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: base.proto
+
+package protomsg
+
+import (
+ fmt "fmt"
+ proto "github.com/gogo/protobuf/proto"
+ io "io"
+ 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
+
+// struct for sdk
+type Point struct {
+ X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
+ Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
+}
+
+func (m *Point) Reset() { *m = Point{} }
+func (m *Point) String() string { return proto.CompactTextString(m) }
+func (*Point) ProtoMessage() {}
+func (*Point) Descriptor() ([]byte, []int) {
+ return fileDescriptor_db1b6b0986796150, []int{0}
+}
+func (m *Point) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Point.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 *Point) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Point.Merge(m, src)
+}
+func (m *Point) XXX_Size() int {
+ return m.Size()
+}
+func (m *Point) XXX_DiscardUnknown() {
+ xxx_messageInfo_Point.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Point proto.InternalMessageInfo
+
+func (m *Point) GetX() int32 {
+ if m != nil {
+ return m.X
+ }
+ return 0
+}
+
+func (m *Point) GetY() int32 {
+ if m != nil {
+ return m.Y
+ }
+ return 0
+}
+
+type Rect struct {
+ Left int32 `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"`
+ Top int32 `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"`
+ Right int32 `protobuf:"varint,3,opt,name=right,proto3" json:"right,omitempty"`
+ Bottom int32 `protobuf:"varint,4,opt,name=bottom,proto3" json:"bottom,omitempty"`
+}
+
+func (m *Rect) Reset() { *m = Rect{} }
+func (m *Rect) String() string { return proto.CompactTextString(m) }
+func (*Rect) ProtoMessage() {}
+func (*Rect) Descriptor() ([]byte, []int) {
+ return fileDescriptor_db1b6b0986796150, []int{1}
+}
+func (m *Rect) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Rect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Rect.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 *Rect) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Rect.Merge(m, src)
+}
+func (m *Rect) XXX_Size() int {
+ return m.Size()
+}
+func (m *Rect) XXX_DiscardUnknown() {
+ xxx_messageInfo_Rect.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Rect proto.InternalMessageInfo
+
+func (m *Rect) GetLeft() int32 {
+ if m != nil {
+ return m.Left
+ }
+ return 0
+}
+
+func (m *Rect) GetTop() int32 {
+ if m != nil {
+ return m.Top
+ }
+ return 0
+}
+
+func (m *Rect) GetRight() int32 {
+ if m != nil {
+ return m.Right
+ }
+ return 0
+}
+
+func (m *Rect) GetBottom() int32 {
+ if m != nil {
+ return m.Bottom
+ }
+ return 0
+}
+
+func init() {
+ proto.RegisterType((*Point)(nil), "protomsg.Point")
+ proto.RegisterType((*Rect)(nil), "protomsg.Rect")
+}
+
+func init() { proto.RegisterFile("base.proto", fileDescriptor_db1b6b0986796150) }
+
+var fileDescriptor_db1b6b0986796150 = []byte{
+ // 167 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4a, 0x2c, 0x4e,
+ 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xb9, 0xc5, 0xe9, 0x4a, 0xca, 0x5c,
+ 0xac, 0x01, 0xf9, 0x99, 0x79, 0x25, 0x42, 0x3c, 0x5c, 0x8c, 0x15, 0x12, 0x8c, 0x0a, 0x8c, 0x1a,
+ 0xac, 0x41, 0x8c, 0x15, 0x20, 0x5e, 0xa5, 0x04, 0x13, 0x84, 0x57, 0xa9, 0x14, 0xc5, 0xc5, 0x12,
+ 0x94, 0x9a, 0x5c, 0x22, 0x24, 0xc4, 0xc5, 0x92, 0x93, 0x9a, 0x56, 0x02, 0x55, 0x06, 0x66, 0x0b,
+ 0x09, 0x70, 0x31, 0x97, 0xe4, 0x17, 0x40, 0xd5, 0x82, 0x98, 0x42, 0x22, 0x5c, 0xac, 0x45, 0x99,
+ 0xe9, 0x19, 0x25, 0x12, 0xcc, 0x60, 0x31, 0x08, 0x47, 0x48, 0x8c, 0x8b, 0x2d, 0x29, 0xbf, 0xa4,
+ 0x24, 0x3f, 0x57, 0x82, 0x05, 0x2c, 0x0c, 0xe5, 0x39, 0x49, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1,
+ 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70,
+ 0xe3, 0xb1, 0x1c, 0x43, 0x12, 0x1b, 0xd8, 0x91, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa5,
+ 0xe9, 0x4a, 0x5f, 0xb9, 0x00, 0x00, 0x00,
+}
+
+func (m *Point) 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 *Point) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.X != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintBase(dAtA, i, uint64(m.X))
+ }
+ if m.Y != 0 {
+ dAtA[i] = 0x10
+ i++
+ i = encodeVarintBase(dAtA, i, uint64(m.Y))
+ }
+ return i, nil
+}
+
+func (m *Rect) 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 *Rect) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Left != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintBase(dAtA, i, uint64(m.Left))
+ }
+ if m.Top != 0 {
+ dAtA[i] = 0x10
+ i++
+ i = encodeVarintBase(dAtA, i, uint64(m.Top))
+ }
+ if m.Right != 0 {
+ dAtA[i] = 0x18
+ i++
+ i = encodeVarintBase(dAtA, i, uint64(m.Right))
+ }
+ if m.Bottom != 0 {
+ dAtA[i] = 0x20
+ i++
+ i = encodeVarintBase(dAtA, i, uint64(m.Bottom))
+ }
+ return i, nil
+}
+
+func encodeVarintBase(dAtA []byte, offset int, v uint64) int {
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return offset + 1
+}
+func (m *Point) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.X != 0 {
+ n += 1 + sovBase(uint64(m.X))
+ }
+ if m.Y != 0 {
+ n += 1 + sovBase(uint64(m.Y))
+ }
+ return n
+}
+
+func (m *Rect) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Left != 0 {
+ n += 1 + sovBase(uint64(m.Left))
+ }
+ if m.Top != 0 {
+ n += 1 + sovBase(uint64(m.Top))
+ }
+ if m.Right != 0 {
+ n += 1 + sovBase(uint64(m.Right))
+ }
+ if m.Bottom != 0 {
+ n += 1 + sovBase(uint64(m.Bottom))
+ }
+ return n
+}
+
+func sovBase(x uint64) (n int) {
+ for {
+ n++
+ x >>= 7
+ if x == 0 {
+ break
+ }
+ }
+ return n
+}
+func sozBase(x uint64) (n int) {
+ return sovBase(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *Point) 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 ErrIntOverflowBase
+ }
+ 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: Point: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Point: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field X", wireType)
+ }
+ m.X = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.X |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Y", wireType)
+ }
+ m.Y = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Y |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipBase(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthBase
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthBase
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Rect) 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 ErrIntOverflowBase
+ }
+ 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: Rect: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Rect: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Left", wireType)
+ }
+ m.Left = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Left |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Top", wireType)
+ }
+ m.Top = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Top |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Right", wireType)
+ }
+ m.Right = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Right |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Bottom", wireType)
+ }
+ m.Bottom = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Bottom |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipBase(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthBase
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthBase
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipBase(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ return iNdEx, nil
+ case 1:
+ iNdEx += 8
+ return iNdEx, nil
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthBase
+ }
+ iNdEx += length
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthBase
+ }
+ return iNdEx, nil
+ case 3:
+ for {
+ var innerWire uint64
+ var start int = iNdEx
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowBase
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ innerWire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ innerWireType := int(innerWire & 0x7)
+ if innerWireType == 4 {
+ break
+ }
+ next, err := skipBase(dAtA[start:])
+ if err != nil {
+ return 0, err
+ }
+ iNdEx = start + next
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthBase
+ }
+ }
+ return iNdEx, nil
+ case 4:
+ return iNdEx, nil
+ case 5:
+ iNdEx += 4
+ return iNdEx, nil
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ }
+ panic("unreachable")
+}
+
+var (
+ ErrInvalidLengthBase = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowBase = fmt.Errorf("proto: integer overflow")
+)
diff --git a/base.proto b/base.proto
new file mode 100644
index 0000000..2269123
--- /dev/null
+++ b/base.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+package protomsg;
+
+// struct for sdk
+message Point{
+ int32 x = 1;
+ int32 y = 2;
+}
+message Rect{
+ int32 left = 1;
+ int32 top = 2;
+ int32 right = 3;
+ int32 bottom = 4;
+}
diff --git a/protomsg.pb.go b/protomsg.pb.go
index d683c1c..761b619 100644
--- a/protomsg.pb.go
+++ b/protomsg.pb.go
@@ -6,7 +6,7 @@
import (
encoding_binary "encoding/binary"
fmt "fmt"
- proto "github.com/golang/protobuf/proto"
+ proto "github.com/gogo/protobuf/proto"
io "io"
math "math"
)
@@ -20,7 +20,7 @@
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
//TableChanged enum
type TableChanged int32
@@ -92,12 +92,9 @@
}
type TaskLabel struct {
- Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"`
- Sdkids []string `protobuf:"bytes,2,rep,name=sdkids,proto3" json:"sdkids,omitempty"`
- Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"`
+ Sdkids []string `protobuf:"bytes,2,rep,name=sdkids,proto3" json:"sdkids,omitempty"`
+ Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
}
func (m *TaskLabel) Reset() { *m = TaskLabel{} }
@@ -156,14 +153,11 @@
//SdkMessage struct test
type SdkMessage struct {
- Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
- Tasklab *TaskLabel `protobuf:"bytes,2,opt,name=tasklab,proto3" json:"tasklab,omitempty"`
- Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- Personaction *Personaction `protobuf:"bytes,4,opt,name=personaction,proto3" json:"personaction,omitempty"`
- Vedioperson *Vediopersons `protobuf:"bytes,5,opt,name=vedioperson,proto3" json:"vedioperson,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
+ Tasklab *TaskLabel `protobuf:"bytes,2,opt,name=tasklab,proto3" json:"tasklab,omitempty"`
+ Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
+ Personaction *Personaction `protobuf:"bytes,4,opt,name=personaction,proto3" json:"personaction,omitempty"`
+ Vedioperson *Vediopersons `protobuf:"bytes,5,opt,name=vedioperson,proto3" json:"vedioperson,omitempty"`
}
func (m *SdkMessage) Reset() { *m = SdkMessage{} }
@@ -235,38 +229,35 @@
}
type Personaction struct {
- ImgKey string `protobuf:"bytes,1,opt,name=imgKey,proto3" json:"imgKey,omitempty"`
- VideoReqNum string `protobuf:"bytes,2,opt,name=videoReqNum,proto3" json:"videoReqNum,omitempty"`
- SdkType string `protobuf:"bytes,3,opt,name=sdkType,proto3" json:"sdkType,omitempty"`
- PicName string `protobuf:"bytes,4,opt,name=picName,proto3" json:"picName,omitempty"`
- Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
- ClusterId string `protobuf:"bytes,6,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
- PersonPicUrl string `protobuf:"bytes,7,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
- ChannlId string `protobuf:"bytes,8,opt,name=channlId,proto3" json:"channlId,omitempty"`
- LikeDate string `protobuf:"bytes,9,opt,name=likeDate,proto3" json:"likeDate,omitempty"`
- PicAddress string `protobuf:"bytes,10,opt,name=picAddress,proto3" json:"picAddress,omitempty"`
- PicMaxUrl string `protobuf:"bytes,11,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"`
- PicDate string `protobuf:"bytes,12,opt,name=picDate,proto3" json:"picDate,omitempty"`
- PicLocalUrl string `protobuf:"bytes,13,opt,name=picLocalUrl,proto3" json:"picLocalUrl,omitempty"`
- IsDelete string `protobuf:"bytes,14,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
- LikePer string `protobuf:"bytes,15,opt,name=likePer,proto3" json:"likePer,omitempty"`
- BaseName string `protobuf:"bytes,16,opt,name=baseName,proto3" json:"baseName,omitempty"`
- VideoNum string `protobuf:"bytes,17,opt,name=videoNum,proto3" json:"videoNum,omitempty"`
- Collection string `protobuf:"bytes,18,opt,name=collection,proto3" json:"collection,omitempty"`
- PicSmUrl string `protobuf:"bytes,19,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"`
- Indeviceid string `protobuf:"bytes,20,opt,name=indeviceid,proto3" json:"indeviceid,omitempty"`
- Idcard string `protobuf:"bytes,21,opt,name=idcard,proto3" json:"idcard,omitempty"`
- AckAlarm string `protobuf:"bytes,22,opt,name=ack_alarm,json=ackAlarm,proto3" json:"ack_alarm,omitempty"`
- PersonId string `protobuf:"bytes,23,opt,name=personId,proto3" json:"personId,omitempty"`
- Id string `protobuf:"bytes,24,opt,name=id,proto3" json:"id,omitempty"`
- Indevicename string `protobuf:"bytes,25,opt,name=indevicename,proto3" json:"indevicename,omitempty"`
- FaceFeature string `protobuf:"bytes,26,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
- PersonIsHub string `protobuf:"bytes,27,opt,name=personIsHub,proto3" json:"personIsHub,omitempty"`
- VideoIp string `protobuf:"bytes,28,opt,name=videoIp,proto3" json:"videoIp,omitempty"`
- TaskId string `protobuf:"bytes,29,opt,name=taskId,proto3" json:"taskId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ ImgKey string `protobuf:"bytes,1,opt,name=imgKey,proto3" json:"imgKey,omitempty"`
+ VideoReqNum string `protobuf:"bytes,2,opt,name=videoReqNum,proto3" json:"videoReqNum,omitempty"`
+ SdkType string `protobuf:"bytes,3,opt,name=sdkType,proto3" json:"sdkType,omitempty"`
+ PicName string `protobuf:"bytes,4,opt,name=picName,proto3" json:"picName,omitempty"`
+ Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
+ ClusterId string `protobuf:"bytes,6,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
+ PersonPicUrl string `protobuf:"bytes,7,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
+ ChannlId string `protobuf:"bytes,8,opt,name=channlId,proto3" json:"channlId,omitempty"`
+ LikeDate string `protobuf:"bytes,9,opt,name=likeDate,proto3" json:"likeDate,omitempty"`
+ PicAddress string `protobuf:"bytes,10,opt,name=picAddress,proto3" json:"picAddress,omitempty"`
+ PicMaxUrl string `protobuf:"bytes,11,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"`
+ PicDate string `protobuf:"bytes,12,opt,name=picDate,proto3" json:"picDate,omitempty"`
+ PicLocalUrl string `protobuf:"bytes,13,opt,name=picLocalUrl,proto3" json:"picLocalUrl,omitempty"`
+ IsDelete string `protobuf:"bytes,14,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
+ LikePer string `protobuf:"bytes,15,opt,name=likePer,proto3" json:"likePer,omitempty"`
+ BaseName string `protobuf:"bytes,16,opt,name=baseName,proto3" json:"baseName,omitempty"`
+ VideoNum string `protobuf:"bytes,17,opt,name=videoNum,proto3" json:"videoNum,omitempty"`
+ Collection string `protobuf:"bytes,18,opt,name=collection,proto3" json:"collection,omitempty"`
+ PicSmUrl string `protobuf:"bytes,19,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"`
+ Indeviceid string `protobuf:"bytes,20,opt,name=indeviceid,proto3" json:"indeviceid,omitempty"`
+ Idcard string `protobuf:"bytes,21,opt,name=idcard,proto3" json:"idcard,omitempty"`
+ AckAlarm string `protobuf:"bytes,22,opt,name=ack_alarm,json=ackAlarm,proto3" json:"ack_alarm,omitempty"`
+ PersonId string `protobuf:"bytes,23,opt,name=personId,proto3" json:"personId,omitempty"`
+ Id string `protobuf:"bytes,24,opt,name=id,proto3" json:"id,omitempty"`
+ Indevicename string `protobuf:"bytes,25,opt,name=indevicename,proto3" json:"indevicename,omitempty"`
+ FaceFeature string `protobuf:"bytes,26,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
+ PersonIsHub string `protobuf:"bytes,27,opt,name=personIsHub,proto3" json:"personIsHub,omitempty"`
+ VideoIp string `protobuf:"bytes,28,opt,name=videoIp,proto3" json:"videoIp,omitempty"`
+ TaskId string `protobuf:"bytes,29,opt,name=taskId,proto3" json:"taskId,omitempty"`
}
func (m *Personaction) Reset() { *m = Personaction{} }
@@ -506,20 +497,17 @@
}
type PersonBaseInfo struct {
- PersonNamae string `protobuf:"bytes,1,opt,name=personNamae,proto3" json:"personNamae,omitempty"`
- IDCard string `protobuf:"bytes,2,opt,name=iDCard,proto3" json:"iDCard,omitempty"`
- Gender string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
- PersonPicUrl string `protobuf:"bytes,4,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
- LikePer string `protobuf:"bytes,5,opt,name=likePer,proto3" json:"likePer,omitempty"`
- TableId string `protobuf:"bytes,6,opt,name=tableId,proto3" json:"tableId,omitempty"`
- MonitorLevel string `protobuf:"bytes,7,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"`
- PersonId string `protobuf:"bytes,8,opt,name=personId,proto3" json:"personId,omitempty"`
- PhoneNum string `protobuf:"bytes,9,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"`
- Content string `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"`
- TableName string `protobuf:"bytes,11,opt,name=tableName,proto3" json:"tableName,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ PersonNamae string `protobuf:"bytes,1,opt,name=personNamae,proto3" json:"personNamae,omitempty"`
+ IDCard string `protobuf:"bytes,2,opt,name=iDCard,proto3" json:"iDCard,omitempty"`
+ Gender string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
+ PersonPicUrl string `protobuf:"bytes,4,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
+ LikePer string `protobuf:"bytes,5,opt,name=likePer,proto3" json:"likePer,omitempty"`
+ TableId string `protobuf:"bytes,6,opt,name=tableId,proto3" json:"tableId,omitempty"`
+ MonitorLevel string `protobuf:"bytes,7,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"`
+ PersonId string `protobuf:"bytes,8,opt,name=personId,proto3" json:"personId,omitempty"`
+ PhoneNum string `protobuf:"bytes,9,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"`
+ Content string `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"`
+ TableName string `protobuf:"bytes,11,opt,name=tableName,proto3" json:"tableName,omitempty"`
}
func (m *PersonBaseInfo) Reset() { *m = PersonBaseInfo{} }
@@ -633,45 +621,42 @@
}
type Vediopersons struct {
- ID string `protobuf:"bytes,1,opt,name=iD,proto3" json:"iD,omitempty"`
- VideoReqNum string `protobuf:"bytes,2,opt,name=videoReqNum,proto3" json:"videoReqNum,omitempty"`
- SdkType string `protobuf:"bytes,3,opt,name=sdkType,proto3" json:"sdkType,omitempty"`
- Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"`
- PicName string `protobuf:"bytes,5,opt,name=picName,proto3" json:"picName,omitempty"`
- Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
- PersonPicUrl string `protobuf:"bytes,7,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
- ChannlId string `protobuf:"bytes,8,opt,name=channlId,proto3" json:"channlId,omitempty"`
- LikeDate string `protobuf:"bytes,9,opt,name=likeDate,proto3" json:"likeDate,omitempty"`
- Race string `protobuf:"bytes,10,opt,name=race,proto3" json:"race,omitempty"`
- PciAddress string `protobuf:"bytes,11,opt,name=pciAddress,proto3" json:"pciAddress,omitempty"`
- PicMaxUrl string `protobuf:"bytes,12,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"`
- Age string `protobuf:"bytes,13,opt,name=age,proto3" json:"age,omitempty"`
- PicDate string `protobuf:"bytes,14,opt,name=picDate,proto3" json:"picDate,omitempty"`
- PicLocalUrl string `protobuf:"bytes,15,opt,name=picLocalUrl,proto3" json:"picLocalUrl,omitempty"`
- IsDelete string `protobuf:"bytes,16,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
- TableName []string `protobuf:"bytes,17,rep,name=tableName,proto3" json:"tableName,omitempty"`
- VideoNum string `protobuf:"bytes,18,opt,name=videoNum,proto3" json:"videoNum,omitempty"`
- PicSmUrl string `protobuf:"bytes,19,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"`
- SimleLevel string `protobuf:"bytes,20,opt,name=simleLevel,proto3" json:"simleLevel,omitempty"`
- IndeviceId string `protobuf:"bytes,21,opt,name=indeviceId,proto3" json:"indeviceId,omitempty"`
- IDcard []string `protobuf:"bytes,22,rep,name=iDcard,proto3" json:"iDcard,omitempty"`
- PersonId []string `protobuf:"bytes,23,rep,name=personId,proto3" json:"personId,omitempty"`
- BeautyLevel string `protobuf:"bytes,24,opt,name=beautyLevel,proto3" json:"beautyLevel,omitempty"`
- IndeviceName string `protobuf:"bytes,25,opt,name=indeviceName,proto3" json:"indeviceName,omitempty"`
- FaceFeature string `protobuf:"bytes,26,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
- PersonIsHub string `protobuf:"bytes,27,opt,name=personIsHub,proto3" json:"personIsHub,omitempty"`
- VideoIp string `protobuf:"bytes,28,opt,name=videoIp,proto3" json:"videoIp,omitempty"`
- AckAlarm string `protobuf:"bytes,29,opt,name=ackAlarm,proto3" json:"ackAlarm,omitempty"`
- ClusterId string `protobuf:"bytes,30,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
- TaskId string `protobuf:"bytes,31,opt,name=taskId,proto3" json:"taskId,omitempty"`
- TaskName string `protobuf:"bytes,32,opt,name=taskName,proto3" json:"taskName,omitempty"`
- Baseinfo []*PersonBaseInfo `protobuf:"bytes,33,rep,name=baseinfo,proto3" json:"baseinfo,omitempty"`
- Collection string `protobuf:"bytes,34,opt,name=collection,proto3" json:"collection,omitempty"`
- AgeDescription string `protobuf:"bytes,35,opt,name=ageDescription,proto3" json:"ageDescription,omitempty"`
- TableId []string `protobuf:"bytes,36,rep,name=tableId,proto3" json:"tableId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ ID string `protobuf:"bytes,1,opt,name=iD,proto3" json:"iD,omitempty"`
+ VideoReqNum string `protobuf:"bytes,2,opt,name=videoReqNum,proto3" json:"videoReqNum,omitempty"`
+ SdkType string `protobuf:"bytes,3,opt,name=sdkType,proto3" json:"sdkType,omitempty"`
+ Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"`
+ PicName string `protobuf:"bytes,5,opt,name=picName,proto3" json:"picName,omitempty"`
+ Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
+ PersonPicUrl string `protobuf:"bytes,7,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
+ ChannlId string `protobuf:"bytes,8,opt,name=channlId,proto3" json:"channlId,omitempty"`
+ LikeDate string `protobuf:"bytes,9,opt,name=likeDate,proto3" json:"likeDate,omitempty"`
+ Race string `protobuf:"bytes,10,opt,name=race,proto3" json:"race,omitempty"`
+ PciAddress string `protobuf:"bytes,11,opt,name=pciAddress,proto3" json:"pciAddress,omitempty"`
+ PicMaxUrl string `protobuf:"bytes,12,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"`
+ Age string `protobuf:"bytes,13,opt,name=age,proto3" json:"age,omitempty"`
+ PicDate string `protobuf:"bytes,14,opt,name=picDate,proto3" json:"picDate,omitempty"`
+ PicLocalUrl string `protobuf:"bytes,15,opt,name=picLocalUrl,proto3" json:"picLocalUrl,omitempty"`
+ IsDelete string `protobuf:"bytes,16,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
+ TableName []string `protobuf:"bytes,17,rep,name=tableName,proto3" json:"tableName,omitempty"`
+ VideoNum string `protobuf:"bytes,18,opt,name=videoNum,proto3" json:"videoNum,omitempty"`
+ PicSmUrl string `protobuf:"bytes,19,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"`
+ SimleLevel string `protobuf:"bytes,20,opt,name=simleLevel,proto3" json:"simleLevel,omitempty"`
+ IndeviceId string `protobuf:"bytes,21,opt,name=indeviceId,proto3" json:"indeviceId,omitempty"`
+ IDcard []string `protobuf:"bytes,22,rep,name=iDcard,proto3" json:"iDcard,omitempty"`
+ PersonId []string `protobuf:"bytes,23,rep,name=personId,proto3" json:"personId,omitempty"`
+ BeautyLevel string `protobuf:"bytes,24,opt,name=beautyLevel,proto3" json:"beautyLevel,omitempty"`
+ IndeviceName string `protobuf:"bytes,25,opt,name=indeviceName,proto3" json:"indeviceName,omitempty"`
+ FaceFeature string `protobuf:"bytes,26,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
+ PersonIsHub string `protobuf:"bytes,27,opt,name=personIsHub,proto3" json:"personIsHub,omitempty"`
+ VideoIp string `protobuf:"bytes,28,opt,name=videoIp,proto3" json:"videoIp,omitempty"`
+ AckAlarm string `protobuf:"bytes,29,opt,name=ackAlarm,proto3" json:"ackAlarm,omitempty"`
+ ClusterId string `protobuf:"bytes,30,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
+ TaskId string `protobuf:"bytes,31,opt,name=taskId,proto3" json:"taskId,omitempty"`
+ TaskName string `protobuf:"bytes,32,opt,name=taskName,proto3" json:"taskName,omitempty"`
+ Baseinfo []*PersonBaseInfo `protobuf:"bytes,33,rep,name=baseinfo,proto3" json:"baseinfo,omitempty"`
+ Collection string `protobuf:"bytes,34,opt,name=collection,proto3" json:"collection,omitempty"`
+ AgeDescription string `protobuf:"bytes,35,opt,name=ageDescription,proto3" json:"ageDescription,omitempty"`
+ TableId []string `protobuf:"bytes,36,rep,name=tableId,proto3" json:"tableId,omitempty"`
}
func (m *Vediopersons) Reset() { *m = Vediopersons{} }
@@ -959,85 +944,18 @@
return nil
}
-// 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"`
- 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_32de24555f916688, []int{5}
-}
-func (m *Image) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_Image.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 *Image) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Image.Merge(m, src)
-}
-func (m *Image) XXX_Size() int {
- return m.Size()
-}
-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
-}
-
//Area缁撴瀯浣�
type Area struct {
- Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Parentid int32 `protobuf:"varint,2,opt,name=parentid,proto3" json:"parentid,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
+ Parentid int32 `protobuf:"varint,2,opt,name=parentid,proto3" json:"parentid,omitempty"`
+ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}
func (m *Area) Reset() { *m = Area{} }
func (m *Area) String() string { return proto.CompactTextString(m) }
func (*Area) ProtoMessage() {}
func (*Area) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{6}
+ return fileDescriptor_32de24555f916688, []int{5}
}
func (m *Area) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1089,30 +1007,27 @@
//Camera缁撴瀯浣�
type Camera struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
- Addr string `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`
- Areaid int32 `protobuf:"varint,5,opt,name=areaid,proto3" json:"areaid,omitempty"`
- Longitude float32 `protobuf:"fixed32,6,opt,name=longitude,proto3" json:"longitude,omitempty"`
- Latitude float32 `protobuf:"fixed32,7,opt,name=latitude,proto3" json:"latitude,omitempty"`
- Rtsp string `protobuf:"bytes,8,opt,name=rtsp,proto3" json:"rtsp,omitempty"`
- Ip string `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
- Port int32 `protobuf:"varint,10,opt,name=port,proto3" json:"port,omitempty"`
- Username string `protobuf:"bytes,11,opt,name=username,proto3" json:"username,omitempty"`
- Password string `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"`
- Brand string `protobuf:"bytes,13,opt,name=brand,proto3" json:"brand,omitempty"`
- Reserved string `protobuf:"bytes,14,opt,name=reserved,proto3" json:"reserved,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
+ Addr string `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`
+ Areaid int32 `protobuf:"varint,5,opt,name=areaid,proto3" json:"areaid,omitempty"`
+ Longitude float32 `protobuf:"fixed32,6,opt,name=longitude,proto3" json:"longitude,omitempty"`
+ Latitude float32 `protobuf:"fixed32,7,opt,name=latitude,proto3" json:"latitude,omitempty"`
+ Rtsp string `protobuf:"bytes,8,opt,name=rtsp,proto3" json:"rtsp,omitempty"`
+ Ip string `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
+ Port int32 `protobuf:"varint,10,opt,name=port,proto3" json:"port,omitempty"`
+ Username string `protobuf:"bytes,11,opt,name=username,proto3" json:"username,omitempty"`
+ Password string `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"`
+ Brand string `protobuf:"bytes,13,opt,name=brand,proto3" json:"brand,omitempty"`
+ Reserved string `protobuf:"bytes,14,opt,name=reserved,proto3" json:"reserved,omitempty"`
}
func (m *Camera) Reset() { *m = Camera{} }
func (m *Camera) String() string { return proto.CompactTextString(m) }
func (*Camera) ProtoMessage() {}
func (*Camera) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{7}
+ return fileDescriptor_32de24555f916688, []int{6}
}
func (m *Camera) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1241,18 +1156,15 @@
//鎽勫儚鏈虹殑浠诲姟淇℃伅
type CameraAndTaskInfo struct {
- Camera *Camera `protobuf:"bytes,1,opt,name=camera,proto3" json:"camera,omitempty"`
- Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Camera *Camera `protobuf:"bytes,1,opt,name=camera,proto3" json:"camera,omitempty"`
+ Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
}
func (m *CameraAndTaskInfo) Reset() { *m = CameraAndTaskInfo{} }
func (m *CameraAndTaskInfo) String() string { return proto.CompactTextString(m) }
func (*CameraAndTaskInfo) ProtoMessage() {}
func (*CameraAndTaskInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{8}
+ return fileDescriptor_32de24555f916688, []int{7}
}
func (m *CameraAndTaskInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1297,24 +1209,21 @@
//Task缁撴瀯浣�
type Task struct {
- Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"`
- Taskname string `protobuf:"bytes,2,opt,name=taskname,proto3" json:"taskname,omitempty"`
- CreateAt string `protobuf:"bytes,3,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
- CreateBy string `protobuf:"bytes,4,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
- UpdateAt string `protobuf:"bytes,5,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"`
- Enable bool `protobuf:"varint,6,opt,name=enable,proto3" json:"enable,omitempty"`
- IsAlarm bool `protobuf:"varint,7,opt,name=is_alarm,json=isAlarm,proto3" json:"is_alarm,omitempty"`
- DelFlag bool `protobuf:"varint,8,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"`
+ Taskname string `protobuf:"bytes,2,opt,name=taskname,proto3" json:"taskname,omitempty"`
+ CreateAt string `protobuf:"bytes,3,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
+ CreateBy string `protobuf:"bytes,4,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
+ UpdateAt string `protobuf:"bytes,5,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"`
+ Enable bool `protobuf:"varint,6,opt,name=enable,proto3" json:"enable,omitempty"`
+ IsAlarm bool `protobuf:"varint,7,opt,name=is_alarm,json=isAlarm,proto3" json:"is_alarm,omitempty"`
+ DelFlag bool `protobuf:"varint,8,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
}
func (m *Task) Reset() { *m = Task{} }
func (m *Task) String() string { return proto.CompactTextString(m) }
func (*Task) ProtoMessage() {}
func (*Task) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{9}
+ return fileDescriptor_32de24555f916688, []int{8}
}
func (m *Task) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1400,18 +1309,15 @@
}
type TaskSdkInfo struct {
- Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
- Sdks []*Sdk `protobuf:"bytes,2,rep,name=sdks,proto3" json:"sdks,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
+ Sdks []*Sdk `protobuf:"bytes,2,rep,name=sdks,proto3" json:"sdks,omitempty"`
}
func (m *TaskSdkInfo) Reset() { *m = TaskSdkInfo{} }
func (m *TaskSdkInfo) String() string { return proto.CompactTextString(m) }
func (*TaskSdkInfo) ProtoMessage() {}
func (*TaskSdkInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{10}
+ return fileDescriptor_32de24555f916688, []int{9}
}
func (m *TaskSdkInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1456,28 +1362,25 @@
//鎽勫儚鏈轰换鍔�
type CameraTask struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- CameraIds string `protobuf:"bytes,2,opt,name=camera_ids,json=cameraIds,proto3" json:"camera_ids,omitempty"`
- TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
- TimeRule []*DayCtl `protobuf:"bytes,4,rep,name=time_rule,json=timeRule,proto3" json:"time_rule,omitempty"`
- ReactRule string `protobuf:"bytes,5,opt,name=react_rule,json=reactRule,proto3" json:"react_rule,omitempty"`
- ReactDevice string `protobuf:"bytes,6,opt,name=react_device,json=reactDevice,proto3" json:"react_device,omitempty"`
- DelFlag bool `protobuf:"varint,7,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
- UpdateFlag bool `protobuf:"varint,8,opt,name=update_flag,json=updateFlag,proto3" json:"update_flag,omitempty"`
- Enable bool `protobuf:"varint,9,opt,name=enable,proto3" json:"enable,omitempty"`
- Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
- IsFull bool `protobuf:"varint,11,opt,name=is_full,json=isFull,proto3" json:"is_full,omitempty"`
- LinkGroupId string `protobuf:"bytes,12,opt,name=link_group_id,json=linkGroupId,proto3" json:"link_group_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ CameraIds string `protobuf:"bytes,2,opt,name=camera_ids,json=cameraIds,proto3" json:"camera_ids,omitempty"`
+ TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
+ TimeRule []*DayCtl `protobuf:"bytes,4,rep,name=time_rule,json=timeRule,proto3" json:"time_rule,omitempty"`
+ ReactRule string `protobuf:"bytes,5,opt,name=react_rule,json=reactRule,proto3" json:"react_rule,omitempty"`
+ ReactDevice string `protobuf:"bytes,6,opt,name=react_device,json=reactDevice,proto3" json:"react_device,omitempty"`
+ DelFlag bool `protobuf:"varint,7,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
+ UpdateFlag bool `protobuf:"varint,8,opt,name=update_flag,json=updateFlag,proto3" json:"update_flag,omitempty"`
+ Enable bool `protobuf:"varint,9,opt,name=enable,proto3" json:"enable,omitempty"`
+ Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
+ IsFull bool `protobuf:"varint,11,opt,name=is_full,json=isFull,proto3" json:"is_full,omitempty"`
+ LinkGroupId string `protobuf:"bytes,12,opt,name=link_group_id,json=linkGroupId,proto3" json:"link_group_id,omitempty"`
}
func (m *CameraTask) Reset() { *m = CameraTask{} }
func (m *CameraTask) String() string { return proto.CompactTextString(m) }
func (*CameraTask) ProtoMessage() {}
func (*CameraTask) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{11}
+ return fileDescriptor_32de24555f916688, []int{10}
}
func (m *CameraTask) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1592,19 +1495,16 @@
//鎽勫儚鏈哄竷闃茬殑鏃堕棿瑙勫垯锛屽彲浠ヨ缃涓�,鐢╥d鍏宠仈鍒板叿浣撶殑瑙勫垯閰嶇疆涓�
type CameraTimerule struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- TimeRule string `protobuf:"bytes,3,opt,name=time_rule,json=timeRule,proto3" json:"time_rule,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ TimeRule string `protobuf:"bytes,3,opt,name=time_rule,json=timeRule,proto3" json:"time_rule,omitempty"`
}
func (m *CameraTimerule) Reset() { *m = CameraTimerule{} }
func (m *CameraTimerule) String() string { return proto.CompactTextString(m) }
func (*CameraTimerule) ProtoMessage() {}
func (*CameraTimerule) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{12}
+ return fileDescriptor_32de24555f916688, []int{11}
}
func (m *CameraTimerule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1656,18 +1556,15 @@
//DayCtl struct 姣忓ぉ鐨勬椂闂存帶鍒惰鍒�
type DayCtl struct {
- Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"`
- TimeRange []*TimeRange `protobuf:"bytes,2,rep,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"`
+ TimeRange []*TimeRange `protobuf:"bytes,2,rep,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
}
func (m *DayCtl) Reset() { *m = DayCtl{} }
func (m *DayCtl) String() string { return proto.CompactTextString(m) }
func (*DayCtl) ProtoMessage() {}
func (*DayCtl) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{13}
+ return fileDescriptor_32de24555f916688, []int{12}
}
func (m *DayCtl) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1712,18 +1609,15 @@
//鏃堕棿璧峰鑼冨洿
type TimeRange struct {
- Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
- End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
+ End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
}
func (m *TimeRange) Reset() { *m = TimeRange{} }
func (m *TimeRange) String() string { return proto.CompactTextString(m) }
func (*TimeRange) ProtoMessage() {}
func (*TimeRange) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{14}
+ return fileDescriptor_32de24555f916688, []int{13}
}
func (m *TimeRange) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1768,19 +1662,16 @@
//Polygon struct
type Polygon struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Points []*Point `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Points []*Point `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
}
func (m *Polygon) Reset() { *m = Polygon{} }
func (m *Polygon) String() string { return proto.CompactTextString(m) }
func (*Polygon) ProtoMessage() {}
func (*Polygon) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{15}
+ return fileDescriptor_32de24555f916688, []int{14}
}
func (m *Polygon) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1831,18 +1722,15 @@
}
type CameraTaskArgs struct {
- CameraId string `protobuf:"bytes,1,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
- TaskArgs []*TaskGroupArgs `protobuf:"bytes,2,rep,name=task_args,json=taskArgs,proto3" json:"task_args,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ CameraId string `protobuf:"bytes,1,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
+ TaskArgs []*TaskGroupArgs `protobuf:"bytes,2,rep,name=task_args,json=taskArgs,proto3" json:"task_args,omitempty"`
}
func (m *CameraTaskArgs) Reset() { *m = CameraTaskArgs{} }
func (m *CameraTaskArgs) String() string { return proto.CompactTextString(m) }
func (*CameraTaskArgs) ProtoMessage() {}
func (*CameraTaskArgs) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{16}
+ return fileDescriptor_32de24555f916688, []int{15}
}
func (m *CameraTaskArgs) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1886,18 +1774,15 @@
}
type TaskGroupArgs struct {
- TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
- GroupRules []*GroupRule `protobuf:"bytes,2,rep,name=group_rules,json=groupRules,proto3" json:"group_rules,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
+ GroupRules []*GroupRule `protobuf:"bytes,2,rep,name=group_rules,json=groupRules,proto3" json:"group_rules,omitempty"`
}
func (m *TaskGroupArgs) Reset() { *m = TaskGroupArgs{} }
func (m *TaskGroupArgs) String() string { return proto.CompactTextString(m) }
func (*TaskGroupArgs) ProtoMessage() {}
func (*TaskGroupArgs) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{17}
+ return fileDescriptor_32de24555f916688, []int{16}
}
func (m *TaskGroupArgs) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1941,18 +1826,15 @@
}
type GroupRule struct {
- GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
+ Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
}
func (m *GroupRule) Reset() { *m = GroupRule{} }
func (m *GroupRule) String() string { return proto.CompactTextString(m) }
func (*GroupRule) ProtoMessage() {}
func (*GroupRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{18}
+ return fileDescriptor_32de24555f916688, []int{17}
}
func (m *GroupRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1996,28 +1878,25 @@
}
type Rule struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- CameraTaskId string `protobuf:"bytes,2,opt,name=camera_task_id,json=cameraTaskId,proto3" json:"camera_task_id,omitempty"`
- CameraId string `protobuf:"bytes,3,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
- PolygonId string `protobuf:"bytes,4,opt,name=polygon_id,json=polygonId,proto3" json:"polygon_id,omitempty"`
- SdkId string `protobuf:"bytes,5,opt,name=sdk_id,json=sdkId,proto3" json:"sdk_id,omitempty"`
- SdkArgAlias string `protobuf:"bytes,6,opt,name=sdk_arg_alias,json=sdkArgAlias,proto3" json:"sdk_arg_alias,omitempty"`
- Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"`
- OperatorType string `protobuf:"bytes,8,opt,name=operator_type,json=operatorType,proto3" json:"operator_type,omitempty"`
- SdkArgValue string `protobuf:"bytes,9,opt,name=sdk_arg_value,json=sdkArgValue,proto3" json:"sdk_arg_value,omitempty"`
- Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
- RuleWithPre string `protobuf:"bytes,11,opt,name=rule_with_pre,json=ruleWithPre,proto3" json:"rule_with_pre,omitempty"`
- GroupId string `protobuf:"bytes,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ CameraTaskId string `protobuf:"bytes,2,opt,name=camera_task_id,json=cameraTaskId,proto3" json:"camera_task_id,omitempty"`
+ CameraId string `protobuf:"bytes,3,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
+ PolygonId string `protobuf:"bytes,4,opt,name=polygon_id,json=polygonId,proto3" json:"polygon_id,omitempty"`
+ SdkId string `protobuf:"bytes,5,opt,name=sdk_id,json=sdkId,proto3" json:"sdk_id,omitempty"`
+ SdkArgAlias string `protobuf:"bytes,6,opt,name=sdk_arg_alias,json=sdkArgAlias,proto3" json:"sdk_arg_alias,omitempty"`
+ Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"`
+ OperatorType string `protobuf:"bytes,8,opt,name=operator_type,json=operatorType,proto3" json:"operator_type,omitempty"`
+ SdkArgValue string `protobuf:"bytes,9,opt,name=sdk_arg_value,json=sdkArgValue,proto3" json:"sdk_arg_value,omitempty"`
+ Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
+ RuleWithPre string `protobuf:"bytes,11,opt,name=rule_with_pre,json=ruleWithPre,proto3" json:"rule_with_pre,omitempty"`
+ GroupId string `protobuf:"bytes,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
func (m *Rule) Reset() { *m = Rule{} }
func (m *Rule) String() string { return proto.CompactTextString(m) }
func (*Rule) ProtoMessage() {}
func (*Rule) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{19}
+ return fileDescriptor_32de24555f916688, []int{18}
}
func (m *Rule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2132,27 +2011,24 @@
//Sdk struct
type Sdk struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- SdkType string `protobuf:"bytes,2,opt,name=sdk_type,json=sdkType,proto3" json:"sdk_type,omitempty"`
- SdkName string `protobuf:"bytes,3,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
- Args []*SdkArg `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
- Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
- Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
- CreateTime string `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
- UpdateTime string `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
- CreateBy string `protobuf:"bytes,9,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
- Enabled bool `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
- DelFlag int32 `protobuf:"varint,11,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ SdkType string `protobuf:"bytes,2,opt,name=sdk_type,json=sdkType,proto3" json:"sdk_type,omitempty"`
+ SdkName string `protobuf:"bytes,3,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
+ Args []*SdkArg `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
+ Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
+ Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
+ CreateTime string `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
+ UpdateTime string `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+ CreateBy string `protobuf:"bytes,9,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
+ Enabled bool `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
+ DelFlag int32 `protobuf:"varint,11,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
}
func (m *Sdk) Reset() { *m = Sdk{} }
func (m *Sdk) String() string { return proto.CompactTextString(m) }
func (*Sdk) ProtoMessage() {}
func (*Sdk) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{20}
+ return fileDescriptor_32de24555f916688, []int{19}
}
func (m *Sdk) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2260,23 +2136,20 @@
//SdkArg struct
type SdkArg struct {
- Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must,omitempty"`
- Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
- Range string `protobuf:"bytes,6,opt,name=range,proto3" json:"range,omitempty"`
- Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
+ Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must,omitempty"`
+ Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
+ Range string `protobuf:"bytes,6,opt,name=range,proto3" json:"range,omitempty"`
+ Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
}
func (m *SdkArg) Reset() { *m = SdkArg{} }
func (m *SdkArg) String() string { return proto.CompactTextString(m) }
func (*SdkArg) ProtoMessage() {}
func (*SdkArg) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{21}
+ return fileDescriptor_32de24555f916688, []int{20}
}
func (m *SdkArg) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2354,752 +2227,19 @@
return 0
}
-// struct for sdk
-type Point struct {
- X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
- Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Point) Reset() { *m = Point{} }
-func (m *Point) String() string { return proto.CompactTextString(m) }
-func (*Point) ProtoMessage() {}
-func (*Point) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{22}
-}
-func (m *Point) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_Point.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 *Point) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Point.Merge(m, src)
-}
-func (m *Point) XXX_Size() int {
- return m.Size()
-}
-func (m *Point) XXX_DiscardUnknown() {
- xxx_messageInfo_Point.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Point proto.InternalMessageInfo
-
-func (m *Point) GetX() int32 {
- if m != nil {
- return m.X
- }
- return 0
-}
-
-func (m *Point) GetY() int32 {
- if m != nil {
- return m.Y
- }
- return 0
-}
-
-type Rect struct {
- Left int32 `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"`
- Top int32 `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"`
- Right int32 `protobuf:"varint,3,opt,name=right,proto3" json:"right,omitempty"`
- Bottom int32 `protobuf:"varint,4,opt,name=bottom,proto3" json:"bottom,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Rect) Reset() { *m = Rect{} }
-func (m *Rect) String() string { return proto.CompactTextString(m) }
-func (*Rect) ProtoMessage() {}
-func (*Rect) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{23}
-}
-func (m *Rect) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *Rect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_Rect.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 *Rect) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Rect.Merge(m, src)
-}
-func (m *Rect) XXX_Size() int {
- return m.Size()
-}
-func (m *Rect) XXX_DiscardUnknown() {
- xxx_messageInfo_Rect.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Rect proto.InternalMessageInfo
-
-func (m *Rect) GetLeft() int32 {
- if m != nil {
- return m.Left
- }
- return 0
-}
-
-func (m *Rect) GetTop() int32 {
- if m != nil {
- return m.Top
- }
- return 0
-}
-
-func (m *Rect) GetRight() int32 {
- if m != nil {
- return m.Right
- }
- return 0
-}
-
-func (m *Rect) GetBottom() int32 {
- if m != nil {
- return m.Bottom
- }
- return 0
-}
-
-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_32de24555f916688, []int{24}
-}
-func (m *FaceAngle) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *FaceAngle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_FaceAngle.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 *FaceAngle) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FaceAngle.Merge(m, src)
-}
-func (m *FaceAngle) XXX_Size() int {
- return m.Size()
-}
-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_32de24555f916688, []int{25}
-}
-func (m *ThftResult) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *ThftResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ThftResult.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 *ThftResult) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ThftResult.Merge(m, src)
-}
-func (m *ThftResult) XXX_Size() int {
- return m.Size()
-}
-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"`
- 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_32de24555f916688, []int{26}
-}
-func (m *FacePos) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *FacePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_FacePos.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 *FacePos) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacePos.Merge(m, src)
-}
-func (m *FacePos) XXX_Size() int {
- return m.Size()
-}
-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
-}
-
-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_32de24555f916688, []int{27}
-}
-func (m *FaceInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *FaceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_FaceInfo.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 *FaceInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FaceInfo.Merge(m, src)
-}
-func (m *FaceInfo) XXX_Size() int {
- return m.Size()
-}
-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"`
- 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_32de24555f916688, []int{28}
-}
-func (m *ObjInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *ObjInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ObjInfo.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 *ObjInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ObjInfo.Merge(m, src)
-}
-func (m *ObjInfo) XXX_Size() int {
- return m.Size()
-}
-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
-}
-
-// sdk face property
-type ParamFacePos 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"`
- Img *Image `protobuf:"bytes,3,opt,name=img,proto3" json:"img,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_32de24555f916688, []int{29}
-}
-func (m *ParamFacePos) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *ParamFacePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ParamFacePos.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 *ParamFacePos) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ParamFacePos.Merge(m, src)
-}
-func (m *ParamFacePos) XXX_Size() int {
- return m.Size()
-}
-func (m *ParamFacePos) XXX_DiscardUnknown() {
- xxx_messageInfo_ParamFacePos.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ParamFacePos proto.InternalMessageInfo
-
-func (m *ParamFacePos) GetPos() *FacePos {
- if m != nil {
- return m.Pos
- }
- return nil
-}
-
-func (m *ParamFacePos) GetResult() *ThftResult {
- if m != nil {
- return m.Result
- }
- return nil
-}
-
-func (m *ParamFacePos) GetImg() *Image {
- if m != nil {
- return m.Img
- }
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-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_32de24555f916688, []int{30}
-}
-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 nil
-}
-
-// sdk yolo detect
-type ParamYoloObj struct {
- Infos []*ObjInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
- Img *Image `protobuf:"bytes,2,opt,name=img,proto3" json:"img,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_32de24555f916688, []int{31}
-}
-func (m *ParamYoloObj) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *ParamYoloObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ParamYoloObj.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 *ParamYoloObj) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ParamYoloObj.Merge(m, src)
-}
-func (m *ParamYoloObj) XXX_Size() int {
- return m.Size()
-}
-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
-}
-
-func (m *ParamYoloObj) GetImg() *Image {
- if m != nil {
- return m.Img
- }
- return nil
-}
-
//publish db change message
type DbChangeMessage struct {
- Table TableChanged `protobuf:"varint,1,opt,name=table,proto3,enum=protomsg.TableChanged" json:"table,omitempty"`
- Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
- Action DbAction `protobuf:"varint,3,opt,name=action,proto3,enum=protomsg.DbAction" json:"action,omitempty"`
- Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Table TableChanged `protobuf:"varint,1,opt,name=table,proto3,enum=protomsg.TableChanged" json:"table,omitempty"`
+ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
+ Action DbAction `protobuf:"varint,3,opt,name=action,proto3,enum=protomsg.DbAction" json:"action,omitempty"`
+ Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
}
func (m *DbChangeMessage) Reset() { *m = DbChangeMessage{} }
func (m *DbChangeMessage) String() string { return proto.CompactTextString(m) }
func (*DbChangeMessage) ProtoMessage() {}
func (*DbChangeMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{32}
+ return fileDescriptor_32de24555f916688, []int{21}
}
func (m *DbChangeMessage) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3157,24 +2297,21 @@
}
type CameraPolygon struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- CameraId string `protobuf:"bytes,2,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- Polygon string `protobuf:"bytes,4,opt,name=polygon,proto3" json:"polygon,omitempty"`
- TriggerLine string `protobuf:"bytes,5,opt,name=trigger_line,json=triggerLine,proto3" json:"trigger_line,omitempty"`
- DirectionLine string `protobuf:"bytes,6,opt,name=direction_line,json=directionLine,proto3" json:"direction_line,omitempty"`
- Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
- DefenceState int32 `protobuf:"varint,8,opt,name=defence_state,json=defenceState,proto3" json:"defence_state,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ CameraId string `protobuf:"bytes,2,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
+ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
+ Polygon string `protobuf:"bytes,4,opt,name=polygon,proto3" json:"polygon,omitempty"`
+ TriggerLine string `protobuf:"bytes,5,opt,name=trigger_line,json=triggerLine,proto3" json:"trigger_line,omitempty"`
+ DirectionLine string `protobuf:"bytes,6,opt,name=direction_line,json=directionLine,proto3" json:"direction_line,omitempty"`
+ Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
+ DefenceState int32 `protobuf:"varint,8,opt,name=defence_state,json=defenceState,proto3" json:"defence_state,omitempty"`
}
func (m *CameraPolygon) Reset() { *m = CameraPolygon{} }
func (m *CameraPolygon) String() string { return proto.CompactTextString(m) }
func (*CameraPolygon) ProtoMessage() {}
func (*CameraPolygon) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{33}
+ return fileDescriptor_32de24555f916688, []int{22}
}
func (m *CameraPolygon) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3267,7 +2404,6 @@
proto.RegisterType((*Personaction)(nil), "protomsg.Personaction")
proto.RegisterType((*PersonBaseInfo)(nil), "protomsg.PersonBaseInfo")
proto.RegisterType((*Vediopersons)(nil), "protomsg.Vediopersons")
- proto.RegisterType((*Image)(nil), "protomsg.Image")
proto.RegisterType((*Area)(nil), "protomsg.Area")
proto.RegisterType((*Camera)(nil), "protomsg.Camera")
proto.RegisterType((*CameraAndTaskInfo)(nil), "protomsg.CameraAndTaskInfo")
@@ -3284,16 +2420,6 @@
proto.RegisterType((*Rule)(nil), "protomsg.Rule")
proto.RegisterType((*Sdk)(nil), "protomsg.Sdk")
proto.RegisterType((*SdkArg)(nil), "protomsg.SdkArg")
- proto.RegisterType((*Point)(nil), "protomsg.Point")
- proto.RegisterType((*Rect)(nil), "protomsg.Rect")
- 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((*ParamFacePos)(nil), "protomsg.ParamFacePos")
- proto.RegisterType((*ParamFaceCompare)(nil), "protomsg.ParamFaceCompare")
- proto.RegisterType((*ParamYoloObj)(nil), "protomsg.ParamYoloObj")
proto.RegisterType((*DbChangeMessage)(nil), "protomsg.DbChangeMessage")
proto.RegisterType((*CameraPolygon)(nil), "protomsg.CameraPolygon")
}
@@ -3301,175 +2427,145 @@
func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) }
var fileDescriptor_32de24555f916688 = []byte{
- // 2688 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x93, 0x1b, 0xc5,
- 0x15, 0x47, 0xdf, 0xd2, 0x93, 0xb4, 0x96, 0x07, 0x63, 0xc6, 0x60, 0xcc, 0x7a, 0xec, 0x80, 0x43,
- 0x80, 0x54, 0x16, 0x0e, 0xa9, 0x1c, 0x52, 0xb5, 0x78, 0xe3, 0x44, 0x15, 0xb3, 0x2c, 0xbd, 0x0b,
- 0xa9, 0x70, 0x88, 0xaa, 0x35, 0xdd, 0xd2, 0x36, 0x1a, 0xcd, 0x0c, 0x33, 0xad, 0xb5, 0x75, 0xc8,
- 0x2d, 0xf7, 0x5c, 0xf9, 0x1f, 0x72, 0xcb, 0x5f, 0xc1, 0x21, 0x95, 0xe2, 0x96, 0x63, 0x52, 0xa4,
- 0x72, 0x49, 0x2a, 0xff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8, 0x54, 0xac, 0x26, 0x6d, 0xef, 0x3a,
- 0x8c, 0x0b, 0x11, 0xdb, 0xd6, 0x49, 0xc7, 0x1b, 0x40, 0xe7, 0x6c, 0x86, 0xd6, 0xee, 0x1b, 0x6f,
- 0x43, 0xdf, 0x85, 0x05, 0x27, 0x99, 0xc6, 0xb9, 0xcc, 0xf4, 0xe4, 0x39, 0x1c, 0x7f, 0x44, 0x8d,
- 0xca, 0xa4, 0x81, 0x63, 0xf3, 0x65, 0x72, 0xd2, 0x7c, 0x6f, 0xf2, 0xc5, 0x57, 0x77, 0x1a, 0x5f,
- 0x7e, 0x75, 0xa7, 0xf1, 0x8f, 0xaf, 0xee, 0x34, 0x3e, 0xff, 0xe7, 0x9d, 0xe7, 0xe6, 0x5d, 0x8a,
- 0xef, 0x3b, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x13, 0x60, 0x69, 0x9a, 0x62, 0x1c, 0x00, 0x00,
+ // 2204 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x92, 0xdb, 0xc6,
+ 0x11, 0x16, 0xff, 0x89, 0x26, 0xb9, 0xa2, 0x60, 0x5b, 0x82, 0xfe, 0xd6, 0x2b, 0x48, 0x49, 0x54,
+ 0xaa, 0x58, 0x07, 0x59, 0x87, 0x54, 0x6e, 0x2b, 0x6d, 0x29, 0x61, 0x45, 0xde, 0x92, 0xb1, 0x6b,
+ 0xe5, 0x16, 0xd6, 0x10, 0x33, 0x4b, 0x4d, 0x11, 0x04, 0x18, 0x0c, 0xb8, 0xf6, 0x1e, 0xf2, 0x0c,
+ 0xc9, 0x31, 0xef, 0x90, 0x5b, 0x9e, 0xc2, 0xa7, 0x94, 0x6e, 0xc9, 0x2d, 0x29, 0xe9, 0x96, 0x54,
+ 0xde, 0x21, 0xd5, 0xdd, 0x33, 0xf8, 0xa1, 0x24, 0xdb, 0x55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, 0x99, 0x4a, 0x63, 0x35, 0x37, 0x05, 0x7e, 0x45, 0x0e, 0x89, 0xf9,
+ 0xb1, 0x05, 0x4f, 0x10, 0x7b, 0xf0, 0x07, 0x18, 0xd7, 0x69, 0xf5, 0xc7, 0x30, 0x3c, 0x9d, 0x33,
+ 0x01, 0xd3, 0x4b, 0xfe, 0x14, 0xc6, 0xce, 0x42, 0xa5, 0x9a, 0xb6, 0xfc, 0x8f, 0x61, 0x5a, 0x47,
+ 0x50, 0x99, 0xa7, 0x6d, 0x1f, 0xa0, 0x7f, 0x3a, 0xa7, 0x19, 0x1d, 0x7f, 0x02, 0x1e, 0x8f, 0x4f,
+ 0xe4, 0x6a, 0xda, 0xf5, 0xaf, 0xc0, 0xa4, 0x34, 0x51, 0x21, 0xa7, 0x3d, 0xdf, 0x83, 0xde, 0xe9,
+ 0x1c, 0xbd, 0xfd, 0x07, 0x0f, 0x61, 0xe8, 0xc2, 0x82, 0x8b, 0xcc, 0x52, 0xa3, 0xf2, 0x62, 0x7a,
+ 0x09, 0xc7, 0x5f, 0x51, 0x4d, 0x4c, 0x5b, 0x38, 0xe6, 0x2f, 0xd7, 0x69, 0xfb, 0x49, 0xf0, 0xed,
+ 0x9b, 0xfd, 0xd6, 0xeb, 0x37, 0xfb, 0xad, 0x7f, 0xbd, 0xd9, 0x6f, 0xfd, 0xe9, 0xed, 0xfe, 0xa5,
+ 0xd7, 0x6f, 0xf7, 0x2f, 0xfd, 0xe3, 0xed, 0xfe, 0xa5, 0x45, 0x9f, 0xe2, 0xfc, 0xf9, 0xff, 0x02,
+ 0x00, 0x00, 0xff, 0xff, 0xfa, 0x15, 0x02, 0x31, 0x96, 0x16, 0x00, 0x00,
}
func (m *TaskLabel) Marshal() (dAtA []byte, err error) {
@@ -3512,9 +2608,6 @@
dAtA[i] = 0x18
i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.Index))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -3575,9 +2668,6 @@
return 0, err3
}
i += n3
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -3799,9 +2889,6 @@
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
i += copy(dAtA[i:], m.TaskId)
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -3885,9 +2972,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TableName)))
i += copy(dAtA[i:], m.TableName)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -4207,46 +3291,6 @@
i += copy(dAtA[i:], s)
}
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *Image) 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 *Image) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Width != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Width))
- }
- if m.Height != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Height))
- }
- if len(m.Data) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Data)))
- i += copy(dAtA[i:], m.Data)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4280,9 +3324,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -4383,9 +3424,6 @@
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Reserved)))
i += copy(dAtA[i:], m.Reserved)
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4425,9 +3463,6 @@
}
i += n
}
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -4507,9 +3542,6 @@
}
i++
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4549,9 +3581,6 @@
}
i += n
}
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -4664,9 +3693,6 @@
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkGroupId)))
i += copy(dAtA[i:], m.LinkGroupId)
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4703,9 +3729,6 @@
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeRule)))
i += copy(dAtA[i:], m.TimeRule)
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4741,9 +3764,6 @@
i += n
}
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4773,9 +3793,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.End)))
i += copy(dAtA[i:], m.End)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -4819,9 +3836,6 @@
i += n
}
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4857,9 +3871,6 @@
}
i += n
}
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -4897,9 +3908,6 @@
i += n
}
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -4935,9 +3943,6 @@
}
i += n
}
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -5027,9 +4032,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId)))
i += copy(dAtA[i:], m.GroupId)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -5124,9 +4126,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.DelFlag))
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -5190,527 +4189,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *Point) 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 *Point) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.X != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.X))
- }
- if m.Y != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Y))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *Rect) 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 *Rect) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Left != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Left))
- }
- if m.Top != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Top))
- }
- if m.Right != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Right))
- }
- if m.Bottom != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Bottom))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *FaceAngle) 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 *FaceAngle) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Yaw != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Yaw))
- }
- if m.Pitch != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Pitch))
- }
- if m.Roll != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Roll))
- }
- if m.Confidence != 0 {
- dAtA[i] = 0x25
- i++
- encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Confidence))))
- i += 4
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *ThftResult) 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 *ThftResult) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Gender != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Gender))
- }
- if m.Age != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Age))
- }
- if m.Race != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Race))
- }
- if m.Beauty != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Beauty))
- }
- if m.Smile != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Smile))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *FacePos) 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 *FacePos) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.RcFace != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.RcFace.Size()))
- n6, err6 := m.RcFace.MarshalTo(dAtA[i:])
- if err6 != nil {
- return 0, err6
- }
- i += n6
- }
- if m.PtLeftEye != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtLeftEye.Size()))
- n7, err7 := m.PtLeftEye.MarshalTo(dAtA[i:])
- if err7 != nil {
- return 0, err7
- }
- i += n7
- }
- if m.PtRightEye != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtRightEye.Size()))
- n8, err8 := m.PtRightEye.MarshalTo(dAtA[i:])
- if err8 != nil {
- return 0, err8
- }
- i += n8
- }
- if m.PtMouth != nil {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtMouth.Size()))
- n9, err9 := m.PtMouth.MarshalTo(dAtA[i:])
- if err9 != nil {
- return 0, err9
- }
- i += n9
- }
- if m.PtNose != nil {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtNose.Size()))
- n10, err10 := m.PtNose.MarshalTo(dAtA[i:])
- if err10 != nil {
- return 0, err10
- }
- i += n10
- }
- if m.FAngle != nil {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.FAngle.Size()))
- n11, err11 := m.FAngle.MarshalTo(dAtA[i:])
- if err11 != nil {
- return 0, err11
- }
- i += n11
- }
- if m.Quality != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Quality))
- }
- if len(m.FacialData) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.FacialData)))
- i += copy(dAtA[i:], m.FacialData)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *FaceInfo) 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 *FaceInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.RcFace != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.RcFace.Size()))
- n12, err12 := m.RcFace.MarshalTo(dAtA[i:])
- if err12 != nil {
- return 0, err12
- }
- i += n12
- }
- if m.PtLeftEye != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtLeftEye.Size()))
- n13, err13 := m.PtLeftEye.MarshalTo(dAtA[i:])
- if err13 != nil {
- return 0, err13
- }
- i += n13
- }
- if m.PtRightEye != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtRightEye.Size()))
- n14, err14 := m.PtRightEye.MarshalTo(dAtA[i:])
- if err14 != nil {
- return 0, err14
- }
- i += n14
- }
- if m.PtMouth != nil {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtMouth.Size()))
- n15, err15 := m.PtMouth.MarshalTo(dAtA[i:])
- if err15 != nil {
- return 0, err15
- }
- i += n15
- }
- if m.PtNose != nil {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.PtNose.Size()))
- n16, err16 := m.PtNose.MarshalTo(dAtA[i:])
- if err16 != nil {
- return 0, err16
- }
- i += n16
- }
- if m.FAngle != nil {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.FAngle.Size()))
- n17, err17 := m.FAngle.MarshalTo(dAtA[i:])
- if err17 != nil {
- return 0, err17
- }
- i += n17
- }
- if m.Quality != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Quality))
- }
- if len(m.FacialData) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.FacialData)))
- i += copy(dAtA[i:], m.FacialData)
- }
- if m.FaceID != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.FaceID))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *ObjInfo) 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 *ObjInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.RcObj != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.RcObj.Size()))
- n18, err18 := m.RcObj.MarshalTo(dAtA[i:])
- if err18 != nil {
- return 0, err18
- }
- i += n18
- }
- if m.Typ != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Typ))
- }
- if m.Prob != 0 {
- dAtA[i] = 0x1d
- i++
- encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Prob))))
- i += 4
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *ParamFacePos) 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 *ParamFacePos) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Pos != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Pos.Size()))
- n19, err19 := m.Pos.MarshalTo(dAtA[i:])
- if err19 != nil {
- return 0, err19
- }
- i += n19
- }
- if m.Result != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Result.Size()))
- n20, err20 := m.Result.MarshalTo(dAtA[i:])
- if err20 != nil {
- return 0, err20
- }
- i += n20
- }
- if m.Img != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Img.Size()))
- n21, err21 := m.Img.MarshalTo(dAtA[i:])
- if err21 != nil {
- return 0, err21
- }
- i += n21
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- 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 = encodeVarintProtomsg(dAtA, i, uint64(len(m.Feat1)))
- i += copy(dAtA[i:], m.Feat1)
- }
- if len(m.Feat2) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Feat2)))
- i += copy(dAtA[i:], m.Feat2)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *ParamYoloObj) 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 *ParamYoloObj) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Infos) > 0 {
- for _, msg := range m.Infos {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.Img != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Img.Size()))
- n22, err22 := m.Img.MarshalTo(dAtA[i:])
- if err22 != nil {
- return 0, err22
- }
- i += n22
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -5750,9 +4228,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Info)))
i += copy(dAtA[i:], m.Info)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
@@ -5819,9 +4294,6 @@
i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.DefenceState))
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
return i, nil
}
@@ -5853,9 +4325,6 @@
if m.Index != 0 {
n += 1 + sovProtomsg(uint64(m.Index))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -5884,9 +4353,6 @@
if m.Vedioperson != nil {
l = m.Vedioperson.Size()
n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6013,9 +4479,6 @@
if l > 0 {
n += 2 + l + sovProtomsg(uint64(l))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6068,9 +4531,6 @@
l = len(m.TableName)
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6235,31 +4695,6 @@
n += 2 + l + sovProtomsg(uint64(l))
}
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *Image) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Width != 0 {
- n += 1 + sovProtomsg(uint64(m.Width))
- }
- if m.Height != 0 {
- n += 1 + sovProtomsg(uint64(m.Height))
- }
- l = len(m.Data)
- if l > 0 {
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6278,9 +4713,6 @@
l = len(m.Name)
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6342,9 +4774,6 @@
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6363,9 +4792,6 @@
l = e.Size()
n += 1 + l + sovProtomsg(uint64(l))
}
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6405,9 +4831,6 @@
if m.DelFlag {
n += 2
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6426,9 +4849,6 @@
l = e.Size()
n += 1 + l + sovProtomsg(uint64(l))
}
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6484,9 +4904,6 @@
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6508,9 +4925,6 @@
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6529,9 +4943,6 @@
n += 1 + l + sovProtomsg(uint64(l))
}
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6548,9 +4959,6 @@
l = len(m.End)
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6575,9 +4983,6 @@
n += 1 + l + sovProtomsg(uint64(l))
}
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6596,9 +5001,6 @@
l = e.Size()
n += 1 + l + sovProtomsg(uint64(l))
}
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6619,9 +5021,6 @@
n += 1 + l + sovProtomsg(uint64(l))
}
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6640,9 +5039,6 @@
l = e.Size()
n += 1 + l + sovProtomsg(uint64(l))
}
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -6700,9 +5096,6 @@
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6756,9 +5149,6 @@
if m.DelFlag != 0 {
n += 1 + sovProtomsg(uint64(m.DelFlag))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -6794,279 +5184,6 @@
if m.Sort != 0 {
n += 1 + sovProtomsg(uint64(m.Sort))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *Point) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.X != 0 {
- n += 1 + sovProtomsg(uint64(m.X))
- }
- if m.Y != 0 {
- n += 1 + sovProtomsg(uint64(m.Y))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *Rect) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Left != 0 {
- n += 1 + sovProtomsg(uint64(m.Left))
- }
- if m.Top != 0 {
- n += 1 + sovProtomsg(uint64(m.Top))
- }
- if m.Right != 0 {
- n += 1 + sovProtomsg(uint64(m.Right))
- }
- if m.Bottom != 0 {
- n += 1 + sovProtomsg(uint64(m.Bottom))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *FaceAngle) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Yaw != 0 {
- n += 1 + sovProtomsg(uint64(m.Yaw))
- }
- if m.Pitch != 0 {
- n += 1 + sovProtomsg(uint64(m.Pitch))
- }
- if m.Roll != 0 {
- n += 1 + sovProtomsg(uint64(m.Roll))
- }
- if m.Confidence != 0 {
- n += 5
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *ThftResult) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Gender != 0 {
- n += 1 + sovProtomsg(uint64(m.Gender))
- }
- if m.Age != 0 {
- n += 1 + sovProtomsg(uint64(m.Age))
- }
- if m.Race != 0 {
- n += 1 + sovProtomsg(uint64(m.Race))
- }
- if m.Beauty != 0 {
- n += 1 + sovProtomsg(uint64(m.Beauty))
- }
- if m.Smile != 0 {
- n += 1 + sovProtomsg(uint64(m.Smile))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *FacePos) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.RcFace != nil {
- l = m.RcFace.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtLeftEye != nil {
- l = m.PtLeftEye.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtRightEye != nil {
- l = m.PtRightEye.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtMouth != nil {
- l = m.PtMouth.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtNose != nil {
- l = m.PtNose.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.FAngle != nil {
- l = m.FAngle.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.Quality != 0 {
- n += 1 + sovProtomsg(uint64(m.Quality))
- }
- l = len(m.FacialData)
- if l > 0 {
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *FaceInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.RcFace != nil {
- l = m.RcFace.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtLeftEye != nil {
- l = m.PtLeftEye.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtRightEye != nil {
- l = m.PtRightEye.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtMouth != nil {
- l = m.PtMouth.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.PtNose != nil {
- l = m.PtNose.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.FAngle != nil {
- l = m.FAngle.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.Quality != 0 {
- n += 1 + sovProtomsg(uint64(m.Quality))
- }
- l = len(m.FacialData)
- if l > 0 {
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.FaceID != 0 {
- n += 1 + sovProtomsg(uint64(m.FaceID))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *ObjInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.RcObj != nil {
- l = m.RcObj.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.Typ != 0 {
- n += 1 + sovProtomsg(uint64(m.Typ))
- }
- if m.Prob != 0 {
- n += 5
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *ParamFacePos) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Pos != nil {
- l = m.Pos.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.Result != nil {
- l = m.Result.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.Img != nil {
- l = m.Img.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- 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 + sovProtomsg(uint64(l))
- }
- l = len(m.Feat2)
- if l > 0 {
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *ParamYoloObj) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Infos) > 0 {
- for _, e := range m.Infos {
- l = e.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- }
- if m.Img != nil {
- l = m.Img.Size()
- n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
return n
}
@@ -7089,9 +5206,6 @@
l = len(m.Info)
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -7132,9 +5246,6 @@
}
if m.DefenceState != 0 {
n += 1 + sovProtomsg(uint64(m.DefenceState))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
}
return n
}
@@ -7279,7 +5390,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -7507,7 +5617,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -8489,7 +6598,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -8895,7 +7003,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -10103,133 +8210,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *Image) 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 ErrIntOverflowProtomsg
- }
- 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: Image: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Image: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType)
- }
- m.Width = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Width |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
- }
- m.Height = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Height |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var byteLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- byteLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if byteLen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + byteLen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
- if m.Data == nil {
- m.Data = []byte{}
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -10353,7 +8333,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -10774,7 +8753,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -10898,7 +8876,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -11172,7 +9149,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -11296,7 +9272,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -11675,7 +9650,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -11825,7 +9799,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -11932,7 +9905,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -12050,7 +10022,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -12202,7 +10173,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -12322,7 +10292,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -12442,7 +10411,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -12562,7 +10530,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -12987,7 +10954,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -13370,7 +11336,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -13623,1693 +11588,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *Point) 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 ErrIntOverflowProtomsg
- }
- 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: Point: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Point: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field X", wireType)
- }
- m.X = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.X |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Y", wireType)
- }
- m.Y = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Y |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *Rect) 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 ErrIntOverflowProtomsg
- }
- 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: Rect: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Rect: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Left", wireType)
- }
- m.Left = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Left |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Top", wireType)
- }
- m.Top = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Top |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Right", wireType)
- }
- m.Right = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Right |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Bottom", wireType)
- }
- m.Bottom = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Bottom |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *FaceAngle) 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 ErrIntOverflowProtomsg
- }
- 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: FaceAngle: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: FaceAngle: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Yaw", wireType)
- }
- m.Yaw = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Yaw |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Pitch", wireType)
- }
- m.Pitch = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Pitch |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Roll", wireType)
- }
- m.Roll = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Roll |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 5 {
- return fmt.Errorf("proto: wrong wireType = %d for field Confidence", wireType)
- }
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- m.Confidence = float32(math.Float32frombits(v))
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ThftResult) 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 ErrIntOverflowProtomsg
- }
- 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: ThftResult: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ThftResult: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Gender", wireType)
- }
- m.Gender = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Gender |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Age", wireType)
- }
- m.Age = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Age |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Race", wireType)
- }
- m.Race = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Race |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Beauty", wireType)
- }
- m.Beauty = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Beauty |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Smile", wireType)
- }
- m.Smile = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Smile |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *FacePos) 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 ErrIntOverflowProtomsg
- }
- 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: FacePos: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: FacePos: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RcFace", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.RcFace == nil {
- m.RcFace = &Rect{}
- }
- if err := m.RcFace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtLeftEye", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtLeftEye == nil {
- m.PtLeftEye = &Point{}
- }
- if err := m.PtLeftEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtRightEye", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtRightEye == nil {
- m.PtRightEye = &Point{}
- }
- if err := m.PtRightEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtMouth", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtMouth == nil {
- m.PtMouth = &Point{}
- }
- if err := m.PtMouth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtNose", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtNose == nil {
- m.PtNose = &Point{}
- }
- if err := m.PtNose.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FAngle", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.FAngle == nil {
- m.FAngle = &FaceAngle{}
- }
- if err := m.FAngle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Quality", wireType)
- }
- m.Quality = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Quality |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FacialData", wireType)
- }
- var byteLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- byteLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if byteLen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + byteLen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FacialData = append(m.FacialData[:0], dAtA[iNdEx:postIndex]...)
- if m.FacialData == nil {
- m.FacialData = []byte{}
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *FaceInfo) 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 ErrIntOverflowProtomsg
- }
- 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: FaceInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: FaceInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RcFace", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.RcFace == nil {
- m.RcFace = &Rect{}
- }
- if err := m.RcFace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtLeftEye", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtLeftEye == nil {
- m.PtLeftEye = &Point{}
- }
- if err := m.PtLeftEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtRightEye", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtRightEye == nil {
- m.PtRightEye = &Point{}
- }
- if err := m.PtRightEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtMouth", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtMouth == nil {
- m.PtMouth = &Point{}
- }
- if err := m.PtMouth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PtNose", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PtNose == nil {
- m.PtNose = &Point{}
- }
- if err := m.PtNose.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FAngle", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.FAngle == nil {
- m.FAngle = &FaceAngle{}
- }
- if err := m.FAngle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Quality", wireType)
- }
- m.Quality = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Quality |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FacialData", wireType)
- }
- var byteLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- byteLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if byteLen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + byteLen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FacialData = append(m.FacialData[:0], dAtA[iNdEx:postIndex]...)
- if m.FacialData == nil {
- 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 ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.FaceID |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ObjInfo) 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 ErrIntOverflowProtomsg
- }
- 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: ObjInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ObjInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RcObj", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.RcObj == nil {
- m.RcObj = &Rect{}
- }
- if err := m.RcObj.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
- }
- m.Typ = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Typ |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 5 {
- return fmt.Errorf("proto: wrong wireType = %d for field Prob", wireType)
- }
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- m.Prob = float32(math.Float32frombits(v))
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ParamFacePos) 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 ErrIntOverflowProtomsg
- }
- 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: ParamFacePos: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ParamFacePos: 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 msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Pos == nil {
- m.Pos = &FacePos{}
- }
- if err := m.Pos.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Result == nil {
- m.Result = &ThftResult{}
- }
- if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Img == nil {
- m.Img = &Image{}
- }
- if err := m.Img.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- 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 ErrIntOverflowProtomsg
- }
- 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 ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- byteLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if byteLen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + byteLen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- 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 ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- byteLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if byteLen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + byteLen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- 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:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ParamYoloObj) 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 ErrIntOverflowProtomsg
- }
- 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: ParamYoloObj: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ParamYoloObj: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Infos", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Infos = append(m.Infos, &ObjInfo{})
- if err := m.Infos[len(m.Infos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthProtomsg
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthProtomsg
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Img == nil {
- m.Img = &Image{}
- }
- if err := m.Img.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipProtomsg(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthProtomsg
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -15465,7 +11743,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
@@ -15762,7 +12039,6 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
diff --git a/protomsg.proto b/protomsg.proto
index 365b4db..9b21342 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -1,4 +1,6 @@
syntax = "proto3";
+import "base.proto";
+
package protomsg;
message TaskLabel {
@@ -104,13 +106,6 @@
repeated string tableId=36;
}
-
-// Image ipc struct
-message Image{
- int32 width = 1;
- int32 height = 2;
- bytes data = 3;
-}
//Area缁撴瀯浣�
message Area{
@@ -256,75 +251,6 @@
string unit = 5;//鍗曚綅
string range = 6;//鍙傛暟鐨勮寖鍥�
int32 sort = 7;//鍙傛暟鎺掑簭
-}
-
-// struct for sdk
-message Point{
- int32 x = 1;
- int32 y = 2;
-}
-message Rect{
- int32 left = 1;
- int32 top = 2;
- int32 right = 3;
- int32 bottom = 4;
-}
-message FaceAngle{
- int32 yaw = 1;
- int32 pitch =2;
- int32 roll = 3;
- float confidence =4;
-}
-message ThftResult{
- int32 gender = 1;
- int32 age = 2;
- int32 race = 3;
- int32 beauty = 4;
- int32 smile = 5;
-}
-message FacePos{
- Rect rcFace = 1;
- Point ptLeftEye = 2;
- Point ptRightEye = 3;
- Point ptMouth = 4;
- Point ptNose = 5;
- FaceAngle fAngle = 6;
- int32 quality = 7;
- bytes facialData = 8;
-}
-message FaceInfo{
- Rect rcFace = 1;
- Point ptLeftEye = 2;
- Point ptRightEye = 3;
- Point ptMouth = 4;
- Point ptNose = 5;
- FaceAngle fAngle = 6;
- int32 quality = 7;
- bytes facialData = 8;
- int64 faceID = 9;
-}
-message ObjInfo{
- Rect rcObj = 1;
- int32 typ = 2;
- float prob = 3;
-}
-
-// sdk face property
-message ParamFacePos{
- FacePos pos = 1;
- ThftResult result = 2;
- Image img = 3;
-}
-// sdk face extract
-message ParamFaceCompare{
- bytes feat1 = 1;
- bytes feat2 = 2;
-}
-
-// sdk yolo detect
-message ParamYoloObj{
- repeated ObjInfo infos = 1;
- Image img = 2;
}
//TableChanged enum
diff --git a/sdk.pb.go b/sdk.pb.go
new file mode 100644
index 0000000..4914303
--- /dev/null
+++ b/sdk.pb.go
@@ -0,0 +1,3112 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: sdk.proto
+
+package protomsg
+
+import (
+ encoding_binary "encoding/binary"
+ fmt "fmt"
+ proto "github.com/gogo/protobuf/proto"
+ io "io"
+ 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.GoGoProtoPackageIsVersion2 // 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"`
+}
+
+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 m.Unmarshal(b)
+}
+func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Image.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 *Image) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Image.Merge(m, src)
+}
+func (m *Image) XXX_Size() int {
+ return m.Size()
+}
+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
+}
+
+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"`
+}
+
+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 m.Unmarshal(b)
+}
+func (m *FaceAngle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_FaceAngle.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 *FaceAngle) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_FaceAngle.Merge(m, src)
+}
+func (m *FaceAngle) XXX_Size() int {
+ return m.Size()
+}
+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"`
+}
+
+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 m.Unmarshal(b)
+}
+func (m *ThftResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ThftResult.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 *ThftResult) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ThftResult.Merge(m, src)
+}
+func (m *ThftResult) XXX_Size() int {
+ return m.Size()
+}
+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"`
+}
+
+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 m.Unmarshal(b)
+}
+func (m *FacePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_FacePos.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 *FacePos) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_FacePos.Merge(m, src)
+}
+func (m *FacePos) XXX_Size() int {
+ return m.Size()
+}
+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
+}
+
+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"`
+}
+
+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 m.Unmarshal(b)
+}
+func (m *FaceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_FaceInfo.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 *FaceInfo) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_FaceInfo.Merge(m, src)
+}
+func (m *FaceInfo) XXX_Size() int {
+ return m.Size()
+}
+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"`
+}
+
+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 m.Unmarshal(b)
+}
+func (m *ObjInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ObjInfo.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 *ObjInfo) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ObjInfo.Merge(m, src)
+}
+func (m *ObjInfo) XXX_Size() int {
+ return m.Size()
+}
+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
+}
+
+// sdk face property
+type ParamFacePos 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"`
+ Img *Image `protobuf:"bytes,3,opt,name=img,proto3" json:"img,omitempty"`
+}
+
+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{6}
+}
+func (m *ParamFacePos) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ParamFacePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ParamFacePos.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 *ParamFacePos) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ParamFacePos.Merge(m, src)
+}
+func (m *ParamFacePos) XXX_Size() int {
+ return m.Size()
+}
+func (m *ParamFacePos) XXX_DiscardUnknown() {
+ xxx_messageInfo_ParamFacePos.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ParamFacePos proto.InternalMessageInfo
+
+func (m *ParamFacePos) GetPos() *FacePos {
+ if m != nil {
+ return m.Pos
+ }
+ return nil
+}
+
+func (m *ParamFacePos) GetResult() *ThftResult {
+ if m != nil {
+ return m.Result
+ }
+ return nil
+}
+
+func (m *ParamFacePos) GetImg() *Image {
+ if m != nil {
+ return m.Img
+ }
+ 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{7}
+}
+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 nil
+}
+
+// sdk yolo detect
+type ParamYoloObj struct {
+ Infos []*ObjInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
+ Img *Image `protobuf:"bytes,2,opt,name=img,proto3" json:"img,omitempty"`
+}
+
+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{8}
+}
+func (m *ParamYoloObj) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ParamYoloObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ParamYoloObj.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 *ParamYoloObj) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ParamYoloObj.Merge(m, src)
+}
+func (m *ParamYoloObj) XXX_Size() int {
+ return m.Size()
+}
+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
+}
+
+func (m *ParamYoloObj) GetImg() *Image {
+ if m != nil {
+ return m.Img
+ }
+ return nil
+}
+
+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((*ParamFacePos)(nil), "protomsg.ParamFacePos")
+ proto.RegisterType((*ParamFaceCompare)(nil), "protomsg.ParamFaceCompare")
+ proto.RegisterType((*ParamYoloObj)(nil), "protomsg.ParamYoloObj")
+}
+
+func init() { proto.RegisterFile("sdk.proto", fileDescriptor_70decb0fb6f436df) }
+
+var fileDescriptor_70decb0fb6f436df = []byte{
+ // 598 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
+ 0x10, 0xae, 0xed, 0xda, 0x69, 0xa6, 0x15, 0x94, 0xa5, 0x42, 0x16, 0x07, 0x2b, 0x18, 0x44, 0x83,
+ 0x80, 0x22, 0xc2, 0x1d, 0x09, 0x28, 0x48, 0x91, 0x80, 0x46, 0x2b, 0x38, 0xc0, 0x6d, 0xed, 0xac,
+ 0x7f, 0x8a, 0xed, 0x35, 0xf6, 0x46, 0xc5, 0x77, 0x1e, 0x80, 0xc7, 0xe2, 0xc0, 0xa1, 0x47, 0x8e,
+ 0x28, 0x11, 0xef, 0x81, 0x76, 0xbc, 0x4e, 0x52, 0x91, 0x9e, 0xb8, 0x72, 0xca, 0x7c, 0x33, 0x5f,
+ 0xe6, 0xe7, 0x9b, 0x1d, 0x43, 0xbf, 0x9e, 0x7e, 0x3a, 0x2a, 0x2b, 0x21, 0x05, 0xd9, 0xc1, 0x9f,
+ 0xbc, 0x8e, 0x6f, 0x42, 0xc0, 0x6a, 0xde, 0x7a, 0xfd, 0x31, 0xd8, 0xe3, 0x9c, 0xc5, 0x9c,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5, 0x8b, 0x33, 0x4e, 0x44, 0x4d, 0x55, 0x94, 0x3c, 0x00, 0xa7, 0xc2, 0xcb,
+ 0xd5, 0xcb, 0x3b, 0x58, 0xf1, 0x56, 0x57, 0x4d, 0x35, 0x87, 0xdc, 0x02, 0x2b, 0xcd, 0xe3, 0xbf,
+ 0xf7, 0x86, 0x1f, 0x2d, 0xaa, 0x62, 0xfe, 0x53, 0xd8, 0x5f, 0x76, 0xf1, 0x42, 0xe4, 0x25, 0xab,
+ 0xf0, 0x6b, 0x16, 0x71, 0x26, 0x1f, 0x63, 0x2f, 0x7b, 0xb4, 0x05, 0x9d, 0x77, 0x84, 0x95, 0xb5,
+ 0x77, 0xe4, 0x7f, 0xd4, 0x53, 0x7c, 0x10, 0x99, 0x50, 0xc3, 0x1f, 0x82, 0x9d, 0x16, 0x11, 0xce,
+ 0x61, 0x5d, 0x9c, 0x43, 0x8b, 0x48, 0xdb, 0x78, 0xd7, 0x9b, 0x79, 0x79, 0x6f, 0xcf, 0xdd, 0xef,
+ 0x73, 0xcf, 0x38, 0x9f, 0x7b, 0xc6, 0xaf, 0xb9, 0x67, 0x7c, 0x5b, 0x78, 0x5b, 0xe7, 0x0b, 0x6f,
+ 0xeb, 0xe7, 0xc2, 0xdb, 0x0a, 0x1c, 0xa4, 0x3f, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0x19, 0xbd,
+ 0x52, 0xcd, 0xa2, 0x05, 0x00, 0x00,
+}
+
+func (m *Image) 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 *Image) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Width != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Width))
+ }
+ if m.Height != 0 {
+ dAtA[i] = 0x10
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Height))
+ }
+ if len(m.Data) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(len(m.Data)))
+ i += copy(dAtA[i:], m.Data)
+ }
+ return i, nil
+}
+
+func (m *FaceAngle) 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 *FaceAngle) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Yaw != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Yaw))
+ }
+ if m.Pitch != 0 {
+ dAtA[i] = 0x10
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Pitch))
+ }
+ if m.Roll != 0 {
+ dAtA[i] = 0x18
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Roll))
+ }
+ if m.Confidence != 0 {
+ dAtA[i] = 0x25
+ i++
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Confidence))))
+ i += 4
+ }
+ return i, nil
+}
+
+func (m *ThftResult) 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 *ThftResult) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Gender != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Gender))
+ }
+ if m.Age != 0 {
+ dAtA[i] = 0x10
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Age))
+ }
+ if m.Race != 0 {
+ dAtA[i] = 0x18
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Race))
+ }
+ if m.Beauty != 0 {
+ dAtA[i] = 0x20
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Beauty))
+ }
+ if m.Smile != 0 {
+ dAtA[i] = 0x28
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Smile))
+ }
+ return i, nil
+}
+
+func (m *FacePos) 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 *FacePos) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.RcFace != nil {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.RcFace.Size()))
+ n1, err1 := m.RcFace.MarshalTo(dAtA[i:])
+ if err1 != nil {
+ return 0, err1
+ }
+ i += n1
+ }
+ if m.PtLeftEye != nil {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtLeftEye.Size()))
+ n2, err2 := m.PtLeftEye.MarshalTo(dAtA[i:])
+ if err2 != nil {
+ return 0, err2
+ }
+ i += n2
+ }
+ if m.PtRightEye != nil {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtRightEye.Size()))
+ n3, err3 := m.PtRightEye.MarshalTo(dAtA[i:])
+ if err3 != nil {
+ return 0, err3
+ }
+ i += n3
+ }
+ if m.PtMouth != nil {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtMouth.Size()))
+ n4, err4 := m.PtMouth.MarshalTo(dAtA[i:])
+ if err4 != nil {
+ return 0, err4
+ }
+ i += n4
+ }
+ if m.PtNose != nil {
+ dAtA[i] = 0x2a
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtNose.Size()))
+ n5, err5 := m.PtNose.MarshalTo(dAtA[i:])
+ if err5 != nil {
+ return 0, err5
+ }
+ i += n5
+ }
+ if m.FAngle != nil {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.FAngle.Size()))
+ n6, err6 := m.FAngle.MarshalTo(dAtA[i:])
+ if err6 != nil {
+ return 0, err6
+ }
+ i += n6
+ }
+ if m.Quality != 0 {
+ dAtA[i] = 0x38
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Quality))
+ }
+ if len(m.FacialData) > 0 {
+ dAtA[i] = 0x42
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(len(m.FacialData)))
+ i += copy(dAtA[i:], m.FacialData)
+ }
+ return i, nil
+}
+
+func (m *FaceInfo) 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 *FaceInfo) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.RcFace != nil {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.RcFace.Size()))
+ n7, err7 := m.RcFace.MarshalTo(dAtA[i:])
+ if err7 != nil {
+ return 0, err7
+ }
+ i += n7
+ }
+ if m.PtLeftEye != nil {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtLeftEye.Size()))
+ n8, err8 := m.PtLeftEye.MarshalTo(dAtA[i:])
+ if err8 != nil {
+ return 0, err8
+ }
+ i += n8
+ }
+ if m.PtRightEye != nil {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtRightEye.Size()))
+ n9, err9 := m.PtRightEye.MarshalTo(dAtA[i:])
+ if err9 != nil {
+ return 0, err9
+ }
+ i += n9
+ }
+ if m.PtMouth != nil {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtMouth.Size()))
+ n10, err10 := m.PtMouth.MarshalTo(dAtA[i:])
+ if err10 != nil {
+ return 0, err10
+ }
+ i += n10
+ }
+ if m.PtNose != nil {
+ dAtA[i] = 0x2a
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.PtNose.Size()))
+ n11, err11 := m.PtNose.MarshalTo(dAtA[i:])
+ if err11 != nil {
+ return 0, err11
+ }
+ i += n11
+ }
+ if m.FAngle != nil {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.FAngle.Size()))
+ n12, err12 := m.FAngle.MarshalTo(dAtA[i:])
+ if err12 != nil {
+ return 0, err12
+ }
+ i += n12
+ }
+ if m.Quality != 0 {
+ dAtA[i] = 0x38
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Quality))
+ }
+ if len(m.FacialData) > 0 {
+ dAtA[i] = 0x42
+ i++
+ 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
+}
+
+func (m *ObjInfo) 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 *ObjInfo) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.RcObj != nil {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.RcObj.Size()))
+ n13, err13 := m.RcObj.MarshalTo(dAtA[i:])
+ if err13 != nil {
+ return 0, err13
+ }
+ i += n13
+ }
+ if m.Typ != 0 {
+ dAtA[i] = 0x10
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Typ))
+ }
+ if m.Prob != 0 {
+ dAtA[i] = 0x1d
+ i++
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Prob))))
+ i += 4
+ }
+ return i, nil
+}
+
+func (m *ParamFacePos) 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 *ParamFacePos) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Pos != nil {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Pos.Size()))
+ n14, err14 := m.Pos.MarshalTo(dAtA[i:])
+ if err14 != nil {
+ return 0, err14
+ }
+ i += n14
+ }
+ if m.Result != nil {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Result.Size()))
+ n15, err15 := m.Result.MarshalTo(dAtA[i:])
+ if err15 != nil {
+ return 0, err15
+ }
+ i += n15
+ }
+ if m.Img != nil {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Img.Size()))
+ n16, err16 := m.Img.MarshalTo(dAtA[i:])
+ if err16 != nil {
+ return 0, err16
+ }
+ i += n16
+ }
+ 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
+}
+
+func (m *ParamYoloObj) 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 *ParamYoloObj) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Infos) > 0 {
+ for _, msg := range m.Infos {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+ n, err := msg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n
+ }
+ }
+ if m.Img != nil {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Img.Size()))
+ n17, err17 := m.Img.MarshalTo(dAtA[i:])
+ if err17 != nil {
+ return 0, err17
+ }
+ i += n17
+ }
+ return i, nil
+}
+
+func encodeVarintSdk(dAtA []byte, offset int, v uint64) int {
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return offset + 1
+}
+func (m *Image) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Width != 0 {
+ n += 1 + sovSdk(uint64(m.Width))
+ }
+ if m.Height != 0 {
+ n += 1 + sovSdk(uint64(m.Height))
+ }
+ l = len(m.Data)
+ if l > 0 {
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ return n
+}
+
+func (m *FaceAngle) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Yaw != 0 {
+ n += 1 + sovSdk(uint64(m.Yaw))
+ }
+ if m.Pitch != 0 {
+ n += 1 + sovSdk(uint64(m.Pitch))
+ }
+ if m.Roll != 0 {
+ n += 1 + sovSdk(uint64(m.Roll))
+ }
+ if m.Confidence != 0 {
+ n += 5
+ }
+ return n
+}
+
+func (m *ThftResult) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Gender != 0 {
+ n += 1 + sovSdk(uint64(m.Gender))
+ }
+ if m.Age != 0 {
+ n += 1 + sovSdk(uint64(m.Age))
+ }
+ if m.Race != 0 {
+ n += 1 + sovSdk(uint64(m.Race))
+ }
+ if m.Beauty != 0 {
+ n += 1 + sovSdk(uint64(m.Beauty))
+ }
+ if m.Smile != 0 {
+ n += 1 + sovSdk(uint64(m.Smile))
+ }
+ return n
+}
+
+func (m *FacePos) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.RcFace != nil {
+ l = m.RcFace.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtLeftEye != nil {
+ l = m.PtLeftEye.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtRightEye != nil {
+ l = m.PtRightEye.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtMouth != nil {
+ l = m.PtMouth.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtNose != nil {
+ l = m.PtNose.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.FAngle != nil {
+ l = m.FAngle.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.Quality != 0 {
+ n += 1 + sovSdk(uint64(m.Quality))
+ }
+ l = len(m.FacialData)
+ if l > 0 {
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ return n
+}
+
+func (m *FaceInfo) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.RcFace != nil {
+ l = m.RcFace.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtLeftEye != nil {
+ l = m.PtLeftEye.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtRightEye != nil {
+ l = m.PtRightEye.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtMouth != nil {
+ l = m.PtMouth.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.PtNose != nil {
+ l = m.PtNose.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.FAngle != nil {
+ l = m.FAngle.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.Quality != 0 {
+ n += 1 + sovSdk(uint64(m.Quality))
+ }
+ l = len(m.FacialData)
+ if l > 0 {
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.FaceID != 0 {
+ n += 1 + sovSdk(uint64(m.FaceID))
+ }
+ return n
+}
+
+func (m *ObjInfo) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.RcObj != nil {
+ l = m.RcObj.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.Typ != 0 {
+ n += 1 + sovSdk(uint64(m.Typ))
+ }
+ if m.Prob != 0 {
+ n += 5
+ }
+ return n
+}
+
+func (m *ParamFacePos) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Pos != nil {
+ l = m.Pos.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.Result != nil {
+ l = m.Result.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ if m.Img != nil {
+ l = m.Img.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
+}
+
+func (m *ParamYoloObj) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Infos) > 0 {
+ for _, e := range m.Infos {
+ l = e.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ }
+ if m.Img != nil {
+ l = m.Img.Size()
+ n += 1 + l + sovSdk(uint64(l))
+ }
+ return n
+}
+
+func sovSdk(x uint64) (n int) {
+ for {
+ n++
+ x >>= 7
+ if x == 0 {
+ break
+ }
+ }
+ return n
+}
+func sozSdk(x uint64) (n int) {
+ return sovSdk(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *Image) 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: Image: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Image: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType)
+ }
+ m.Width = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Width |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
+ }
+ m.Height = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Height |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Data", 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.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
+ if m.Data == nil {
+ m.Data = []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 *FaceAngle) 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: FaceAngle: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: FaceAngle: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Yaw", wireType)
+ }
+ m.Yaw = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Yaw |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Pitch", wireType)
+ }
+ m.Pitch = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Pitch |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Roll", wireType)
+ }
+ m.Roll = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Roll |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 5 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Confidence", wireType)
+ }
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ m.Confidence = float32(math.Float32frombits(v))
+ 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 *ThftResult) 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: ThftResult: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ThftResult: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Gender", wireType)
+ }
+ m.Gender = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Gender |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Age", wireType)
+ }
+ m.Age = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Age |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Race", wireType)
+ }
+ m.Race = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Race |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Beauty", wireType)
+ }
+ m.Beauty = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Beauty |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Smile", wireType)
+ }
+ m.Smile = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Smile |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ 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 *FacePos) 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: FacePos: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: FacePos: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RcFace", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.RcFace == nil {
+ m.RcFace = &Rect{}
+ }
+ if err := m.RcFace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtLeftEye", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtLeftEye == nil {
+ m.PtLeftEye = &Point{}
+ }
+ if err := m.PtLeftEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtRightEye", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtRightEye == nil {
+ m.PtRightEye = &Point{}
+ }
+ if err := m.PtRightEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtMouth", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtMouth == nil {
+ m.PtMouth = &Point{}
+ }
+ if err := m.PtMouth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtNose", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtNose == nil {
+ m.PtNose = &Point{}
+ }
+ if err := m.PtNose.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FAngle", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.FAngle == nil {
+ m.FAngle = &FaceAngle{}
+ }
+ if err := m.FAngle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Quality", wireType)
+ }
+ m.Quality = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Quality |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FacialData", 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.FacialData = append(m.FacialData[:0], dAtA[iNdEx:postIndex]...)
+ if m.FacialData == nil {
+ m.FacialData = []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 *FaceInfo) 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: FaceInfo: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: FaceInfo: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RcFace", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.RcFace == nil {
+ m.RcFace = &Rect{}
+ }
+ if err := m.RcFace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtLeftEye", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtLeftEye == nil {
+ m.PtLeftEye = &Point{}
+ }
+ if err := m.PtLeftEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtRightEye", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtRightEye == nil {
+ m.PtRightEye = &Point{}
+ }
+ if err := m.PtRightEye.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtMouth", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtMouth == nil {
+ m.PtMouth = &Point{}
+ }
+ if err := m.PtMouth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PtNose", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PtNose == nil {
+ m.PtNose = &Point{}
+ }
+ if err := m.PtNose.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FAngle", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.FAngle == nil {
+ m.FAngle = &FaceAngle{}
+ }
+ if err := m.FAngle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Quality", wireType)
+ }
+ m.Quality = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Quality |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FacialData", 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.FacialData = append(m.FacialData[:0], dAtA[iNdEx:postIndex]...)
+ if m.FacialData == nil {
+ 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 |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ 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 *ObjInfo) 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: ObjInfo: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ObjInfo: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RcObj", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.RcObj == nil {
+ m.RcObj = &Rect{}
+ }
+ if err := m.RcObj.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
+ }
+ m.Typ = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Typ |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 5 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Prob", wireType)
+ }
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ m.Prob = float32(math.Float32frombits(v))
+ 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 *ParamFacePos) 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: ParamFacePos: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ParamFacePos: 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 msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Pos == nil {
+ m.Pos = &FacePos{}
+ }
+ if err := m.Pos.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Result == nil {
+ m.Result = &ThftResult{}
+ }
+ if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Img == nil {
+ m.Img = &Image{}
+ }
+ if err := m.Img.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ 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 *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:
+ 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 *ParamYoloObj) 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: ParamYoloObj: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ParamYoloObj: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Infos", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Infos = append(m.Infos, &ObjInfo{})
+ if err := m.Infos[len(m.Infos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthSdk
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthSdk
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Img == nil {
+ m.Img = &Image{}
+ }
+ if err := m.Img.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ 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 skipSdk(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ return iNdEx, nil
+ case 1:
+ iNdEx += 8
+ return iNdEx, nil
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthSdk
+ }
+ iNdEx += length
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthSdk
+ }
+ return iNdEx, nil
+ case 3:
+ for {
+ var innerWire uint64
+ var start int = iNdEx
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ innerWire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ innerWireType := int(innerWire & 0x7)
+ if innerWireType == 4 {
+ break
+ }
+ next, err := skipSdk(dAtA[start:])
+ if err != nil {
+ return 0, err
+ }
+ iNdEx = start + next
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthSdk
+ }
+ }
+ return iNdEx, nil
+ case 4:
+ return iNdEx, nil
+ case 5:
+ iNdEx += 4
+ return iNdEx, nil
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ }
+ panic("unreachable")
+}
+
+var (
+ ErrInvalidLengthSdk = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowSdk = fmt.Errorf("proto: integer overflow")
+)
diff --git a/sdk.proto b/sdk.proto
new file mode 100644
index 0000000..e31ab08
--- /dev/null
+++ b/sdk.proto
@@ -0,0 +1,69 @@
+syntax = "proto3";
+import "base.proto";
+
+package protomsg;
+
+// Image ipc struct
+message Image{
+ int32 width = 1;
+ int32 height = 2;
+ bytes data = 3;
+}
+
+message FaceAngle{
+ int32 yaw = 1;
+ int32 pitch =2;
+ int32 roll = 3;
+ float confidence =4;
+}
+message ThftResult{
+ int32 gender = 1;
+ int32 age = 2;
+ int32 race = 3;
+ int32 beauty = 4;
+ int32 smile = 5;
+}
+message FacePos{
+ Rect rcFace = 1;
+ Point ptLeftEye = 2;
+ Point ptRightEye = 3;
+ Point ptMouth = 4;
+ Point ptNose = 5;
+ FaceAngle fAngle = 6;
+ int32 quality = 7;
+ bytes facialData = 8;
+}
+message FaceInfo{
+ Rect rcFace = 1;
+ Point ptLeftEye = 2;
+ Point ptRightEye = 3;
+ Point ptMouth = 4;
+ Point ptNose = 5;
+ FaceAngle fAngle = 6;
+ int32 quality = 7;
+ bytes facialData = 8;
+ int64 faceID = 9;
+}
+message ObjInfo{
+ Rect rcObj = 1;
+ int32 typ = 2;
+ float prob = 3;
+}
+
+// sdk face property
+message ParamFacePos{
+ FacePos pos = 1;
+ ThftResult result = 2;
+ Image img = 3;
+}
+// sdk face extract
+message ParamFaceCompare{
+ bytes feat1 = 1;
+ bytes feat2 = 2;
+}
+
+// sdk yolo detect
+message ParamYoloObj{
+ repeated ObjInfo infos = 1;
+ Image img = 2;
+}
\ No newline at end of file
--
Gitblit v1.8.0