From 724955ab9975697a81f260dc4838ea5cee462176 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期一, 17 六月 2019 16:48:01 +0800
Subject: [PATCH] add
---
protomsg.pb.go | 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 3,524 insertions(+), 139 deletions(-)
diff --git a/protomsg.pb.go b/protomsg.pb.go
index 761b619..b0ccd20 100644
--- a/protomsg.pb.go
+++ b/protomsg.pb.go
@@ -2396,6 +2396,767 @@
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"`
+}
+
+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{23}
+}
+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_32de24555f916688, []int{24}
+}
+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
+}
+
+// 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_32de24555f916688, []int{25}
+}
+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_32de24555f916688, []int{26}
+}
+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_32de24555f916688, []int{27}
+}
+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_32de24555f916688, []int{28}
+}
+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_32de24555f916688, []int{29}
+}
+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_32de24555f916688, []int{30}
+}
+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_32de24555f916688, []int{31}
+}
+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_32de24555f916688, []int{32}
+}
+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_32de24555f916688, []int{33}
+}
+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.RegisterEnum("protomsg.TableChanged", TableChanged_name, TableChanged_value)
proto.RegisterEnum("protomsg.DbAction", DbAction_name, DbAction_value)
@@ -2422,150 +3183,192 @@
proto.RegisterType((*SdkArg)(nil), "protomsg.SdkArg")
proto.RegisterType((*DbChangeMessage)(nil), "protomsg.DbChangeMessage")
proto.RegisterType((*CameraPolygon)(nil), "protomsg.CameraPolygon")
+ proto.RegisterType((*Point)(nil), "protomsg.Point")
+ proto.RegisterType((*Rect)(nil), "protomsg.Rect")
+ 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("protomsg.proto", fileDescriptor_32de24555f916688) }
var fileDescriptor_32de24555f916688 = []byte{
- // 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, 0x29, 0xdf, 0xa6, 0xbf, 0x1e, 0x0c,
- 0x66, 0xb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b, 0xa3, 0x6a, 0xd9, 0xf4, 0x46, 0xd0, 0x3f, 0x9b,
+ 0x9a, 0x02, 0x37, 0xbe, 0xe6, 0x8d, 0x61, 0xe4, 0x24, 0xec, 0x44, 0xc7, 0x0d, 0xef, 0x26, 0x8c,
+ 0xab, 0x1a, 0xec, 0xbc, 0xc7, 0x4d, 0x0f, 0xa0, 0x7b, 0x36, 0x25, 0x8f, 0x96, 0xb7, 0x03, 0x03,
+ 0x33, 0x3e, 0x15, 0xcb, 0x71, 0xdb, 0xbb, 0x01, 0x3b, 0x85, 0x88, 0x1d, 0xf0, 0xb8, 0xe3, 0x0d,
+ 0xa0, 0x73, 0x36, 0x45, 0x6b, 0xf7, 0xf5, 0xb7, 0xa0, 0xef, 0xca, 0x2e, 0x4e, 0x32, 0x89, 0x73,
+ 0x99, 0xe9, 0xf1, 0x35, 0x1c, 0x7f, 0x48, 0x3d, 0xcf, 0xb8, 0x81, 0x63, 0xf3, 0x32, 0x39, 0x6e,
+ 0xbe, 0xeb, 0x7f, 0xf6, 0xc5, 0x5e, 0xe3, 0xf3, 0x2f, 0xf6, 0x1a, 0xff, 0xfc, 0x62, 0xaf, 0xf1,
+ 0x87, 0x2f, 0xf7, 0xae, 0x7d, 0xfe, 0xe5, 0xde, 0xb5, 0xbf, 0x7f, 0xb9, 0x77, 0x6d, 0xd6, 0xa5,
+ 0xd3, 0xbd, 0xfd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x47, 0x62, 0x9e, 0x6a, 0x1c, 0x00,
+ 0x00,
}
func (m *TaskLabel) Marshal() (dAtA []byte, err error) {
@@ -4297,6 +5100,528 @@
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))
+ }
+ 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))
+ }
+ 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)
+ }
+ 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
+ }
+ 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))
+ }
+ 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)
+ }
+ 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))
+ }
+ 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
+ }
+ 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
+ }
+ 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)
+ }
+ 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
+ }
+ return i, nil
+}
+
func encodeVarintProtomsg(dAtA []byte, offset int, v uint64) int {
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
@@ -5246,6 +6571,265 @@
}
if m.DefenceState != 0 {
n += 1 + sovProtomsg(uint64(m.DefenceState))
+ }
+ 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))
+ }
+ 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))
+ }
+ 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))
+ }
+ 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
+ }
+ 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))
+ }
+ 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))
+ }
+ 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))
+ }
+ 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
+ }
+ 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))
+ }
+ 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))
+ }
+ 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))
}
return n
}
@@ -12048,6 +13632,1807 @@
}
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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func skipProtomsg(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
--
Gitblit v1.8.0