554325746@qq.com
2019-06-18 5d9a71b33af87f59ce4104eb1b5da65f076a789d
test multiple action
4个文件已修改
7869 ■■■■ 已修改文件
base.pb.go 45 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
protomsg.pb.go 7397 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
protomsg.proto 180 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sdk.pb.go 247 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
base.pb.go
@@ -5,7 +5,7 @@
import (
    fmt "fmt"
    proto "github.com/gogo/protobuf/proto"
    proto "github.com/golang/protobuf/proto"
    io "io"
    math "math"
)
@@ -19,12 +19,15 @@
// 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
const _ = proto.ProtoPackageIsVersion2 // 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"`
    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{} }
@@ -75,10 +78,13 @@
}
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"`
    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{} }
@@ -150,7 +156,7 @@
func init() { proto.RegisterFile("base.proto", fileDescriptor_db1b6b0986796150) }
var fileDescriptor_db1b6b0986796150 = []byte{
    // 167 bytes of a gzipped FileDescriptorProto
    // 158 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,
@@ -158,10 +164,9 @@
    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,
    0x24, 0x3f, 0x57, 0x82, 0x05, 0x2c, 0x0c, 0xe5, 0x39, 0x09, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1,
    0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x33, 0x1e, 0xcb, 0x31, 0x24, 0xb1, 0x81, 0x1d, 0x67,
    0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xb0, 0xbd, 0x0b, 0xb1, 0x00, 0x00, 0x00,
}
func (m *Point) Marshal() (dAtA []byte, err error) {
@@ -188,6 +193,9 @@
        dAtA[i] = 0x10
        i++
        i = encodeVarintBase(dAtA, i, uint64(m.Y))
    }
    if m.XXX_unrecognized != nil {
        i += copy(dAtA[i:], m.XXX_unrecognized)
    }
    return i, nil
}
@@ -227,6 +235,9 @@
        i++
        i = encodeVarintBase(dAtA, i, uint64(m.Bottom))
    }
    if m.XXX_unrecognized != nil {
        i += copy(dAtA[i:], m.XXX_unrecognized)
    }
    return i, nil
}
@@ -251,6 +262,9 @@
    if m.Y != 0 {
        n += 1 + sovBase(uint64(m.Y))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -271,6 +285,9 @@
    }
    if m.Bottom != 0 {
        n += 1 + sovBase(uint64(m.Bottom))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -370,6 +387,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -499,6 +517,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
protomsg.pb.go
Diff too large
protomsg.proto
@@ -11,100 +11,100 @@
//SdkMessage struct test
message SdkMessage {
    string cid = 1;
    string    cid = 1;
    TaskLabel tasklab = 2;
    bytes    data =3 ;
    bytes      data =3 ;
    Personaction personaction =4;
    Vediopersons vedioperson = 5;
   // Personaction personaction =4;
   // Vediopersons vedioperson = 5;
}
message Personaction{
    string imgKey       = 1;
    string videoReqNum  = 2;
    string sdkType      = 3;
    string picName      = 4;
    string content      = 5;
    string cluster_id   = 6;
    string personPicUrl = 7;
    string channlId     = 8;
    string likeDate     = 9;
    string picAddress   = 10;
    string picMaxUrl    = 11;
    string picDate      = 12;
    string picLocalUrl  = 13;
    string isDelete     = 14;
    string likePer      = 15;
    string baseName     = 16;
    string videoNum     = 17;
    string collection   = 18;
    string picSmUrl     = 19;
    string indeviceid   = 20;
    string idcard       = 21;
    string ack_alarm    = 22;
    string personId     = 23;
    string id           = 24;
    string indevicename = 25;
    string faceFeature  = 26;
    string personIsHub  = 27;
    string videoIp      = 28;
    string taskId       = 29;
}
message PersonBaseInfo {
    string personNamae  = 1;
    string iDCard       = 2;
    string gender       = 3;
    string personPicUrl = 4;
    string likePer      = 5;
    string tableId      = 6;
    string monitorLevel = 7;
    string personId     = 8;
    string phoneNum     = 9;
    string content      = 10;
    string tableName    = 11;
}
message Vediopersons {
    string iD           = 1;
    string videoReqNum  = 2;
    string sdkType=3;
    string gender=4;
    string picName=5;
    string content=6;
    string personPicUrl=7;
    string channlId=8;
    string likeDate=9;
    string race=10;
    string pciAddress=11;
    string picMaxUrl=12;
    string age=13;
    string picDate=14;
    string picLocalUrl=15;
    string isDelete=16;
    repeated string tableName=17;
    string videoNum=18;
    string picSmUrl=19;
    string simleLevel=20;
    string indeviceId=21;
    repeated string iDcard=22;
    repeated string personId=23;
    string beautyLevel=24;
    string indeviceName=25;
    string faceFeature=26;
    string personIsHub=27;
    string videoIp=28;
    string ackAlarm=29;
    string clusterId=30;
    string taskId=31;
    string taskName=32;
    repeated PersonBaseInfo baseinfo =33;
    string collection=34;
    string ageDescription=35;
    repeated string tableId=36;
}
//message Personaction{
//    string imgKey       = 1;
//    string videoReqNum  = 2;
//    string sdkType      = 3;
//    string picName      = 4;
//    string content      = 5;
//    string cluster_id   = 6;
//    string personPicUrl = 7;
//    string channlId     = 8;
//    string likeDate     = 9;
//
//    string picAddress   = 10;
//    string picMaxUrl    = 11;
//    string picDate      = 12;
//    string picLocalUrl  = 13;
//    string isDelete     = 14;
//    string likePer      = 15;
//    string baseName     = 16;
//    string videoNum     = 17;
//    string collection   = 18;
//    string picSmUrl     = 19;
//
//    string indeviceid   = 20;
//    string idcard       = 21;
//    string ack_alarm    = 22;
//    string personId     = 23;
//    string id           = 24;
//    string indevicename = 25;
//    string faceFeature  = 26;
//    string personIsHub  = 27;
//    string videoIp      = 28;
//    string taskId       = 29;
//}
//
//message PersonBaseInfo {
//    string personNamae  = 1;
//    string iDCard       = 2;
//    string gender       = 3;
//    string personPicUrl = 4;
//    string likePer      = 5;
//    string tableId      = 6;
//    string monitorLevel = 7;
//    string personId     = 8;
//    string phoneNum     = 9;
//    string content      = 10;
//    string tableName    = 11;
//}
//
//message Vediopersons {
//    string iD           = 1;
//    string videoReqNum  = 2;
//    string sdkType=3;
//    string gender=4;
//    string picName=5;
//    string content=6;
//    string personPicUrl=7;
//    string channlId=8;
//    string likeDate=9;
//    string race=10;
//    string picAddress=11;
//    string picMaxUrl=12;
//    string age=13;
//    string picDate=14;
//    string picLocalUrl=15;
//    string isDelete=16;
//    repeated string tableName=17;
//    string videoNum=18;
//    string picSmUrl=19;
//    string simleLevel=20;
//    string indeviceId=21;
//    repeated string iDcard=22;
//    repeated string personId=23;
//    string beautyLevel=24;
//    string indeviceName=25;
//    string faceFeature=26;
//    string personIsHub=27;
//    string videoIp=28;
//    string ackAlarm=29;
//    string clusterId=30;
//    string taskId=31;
//    string taskName=32;
//    repeated PersonBaseInfo baseinfo =33;
//    string collection=34;
//    string ageDescription=35;
//    repeated string tableId=36;
//}
//Area结构体
sdk.pb.go
@@ -6,7 +6,7 @@
import (
    encoding_binary "encoding/binary"
    fmt "fmt"
    proto "github.com/gogo/protobuf/proto"
    proto "github.com/golang/protobuf/proto"
    io "io"
    math "math"
)
@@ -20,13 +20,16 @@
// 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
const _ = proto.ProtoPackageIsVersion2 // 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"`
    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{} }
@@ -84,10 +87,13 @@
}
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"`
    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{} }
@@ -152,11 +158,14 @@
}
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"`
    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{} }
@@ -228,14 +237,17 @@
}
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"`
    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{} }
@@ -328,15 +340,18 @@
}
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"`
    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{} }
@@ -436,9 +451,12 @@
}
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"`
    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{} }
@@ -497,9 +515,12 @@
// 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"`
    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{} }
@@ -558,8 +579,11 @@
// 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"`
    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{} }
@@ -611,8 +635,11 @@
// 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"`
    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{} }
@@ -677,45 +704,44 @@
func init() { proto.RegisterFile("sdk.proto", fileDescriptor_70decb0fb6f436df) }
var fileDescriptor_70decb0fb6f436df = []byte{
    // 598 bytes of a gzipped FileDescriptorProto
    // 590 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, 0x1c,
    0x80, 0x7d, 0x96, 0x4e, 0x65, 0xe2, 0x1a, 0x03, 0x63, 0x68, 0xd3, 0x16, 0x90, 0x1b, 0xe0, 0x24,
    0x3c, 0x8d, 0x13, 0xe9, 0x9a, 0xe8, 0xd6, 0x88, 0x10, 0xd8, 0x9e, 0x32, 0xc9, 0x5c, 0x6b, 0x60,
    0x0c, 0xf7, 0x28, 0xda, 0x7e, 0x0c, 0xfd, 0x57, 0x2c, 0xe4, 0xcf, 0x8a, 0x38, 0xe3, 0x64, 0x1f,
    0xac, 0x86, 0x9d, 0xe9, 0x64, 0xca, 0x54, 0x05, 0xca, 0x54, 0x86, 0x89, 0xce, 0xd4, 0x02, 0x95,
    0xa8, 0x12, 0x59, 0x86, 0x89, 0x6c, 0x8a, 0x36, 0xf1, 0x00, 0x42, 0x51, 0x44, 0xe9, 0x94, 0x17,
    0x21, 0x77, 0xb7, 0x07, 0xc6, 0xd0, 0xa4, 0x6b, 0x1e, 0xff, 0x0b, 0xc0, 0xbb, 0x24, 0x92, 0x94,
    0xd7, 0xb3, 0x4c, 0xaa, 0x16, 0x63, 0x5e, 0x4c, 0x79, 0xa5, 0x8b, 0x69, 0xa4, 0x3a, 0x60, 0x31,
    0xd7, 0xd5, 0x94, 0x89, 0xb5, 0x58, 0xc8, 0x97, 0xb5, 0x58, 0xc8, 0xd5, 0xbf, 0x03, 0xce, 0x66,
    0xb2, 0xc1, 0x3a, 0x36, 0xd5, 0x48, 0x75, 0x5b, 0xe7, 0x69, 0xc6, 0x5d, 0xbb, 0xed, 0x16, 0x81,
    0xff, 0xc3, 0x84, 0x9e, 0x9a, 0x71, 0x22, 0x6a, 0x72, 0x17, 0x9c, 0x2a, 0x54, 0x00, 0xeb, 0xee,
    0x8e, 0xae, 0x1c, 0x75, 0x02, 0x1f, 0x51, 0x1e, 0x4a, 0xaa, 0xa3, 0xe4, 0x21, 0xf4, 0x4b, 0xf9,
    0x9a, 0x47, 0xf2, 0x65, 0xd3, 0x76, 0xb3, 0x3b, 0xba, 0xba, 0xa2, 0x4e, 0x44, 0x5a, 0x48, 0xba,
    0x62, 0x90, 0x47, 0x00, 0xa5, 0xa4, 0x4a, 0x64, 0xc5, 0xb7, 0x36, 0xf3, 0xd7, 0x28, 0xe4, 0x1e,
    0xf4, 0x4a, 0xf9, 0x46, 0xcc, 0x64, 0x82, 0x23, 0x6c, 0x60, 0x77, 0x71, 0x72, 0x08, 0x4e, 0x29,
    0xdf, 0x8a, 0xba, 0x9d, 0x6a, 0x03, 0x53, 0x87, 0xc9, 0x7d, 0x70, 0x22, 0xdc, 0xa3, 0xeb, 0x20,
    0xf1, 0xfa, 0x8a, 0xb8, 0x5c, 0x31, 0xd5, 0x14, 0xe2, 0x42, 0xef, 0xf3, 0x8c, 0x65, 0xa9, 0x6c,
    0xdc, 0x1e, 0x8a, 0xd5, 0x41, 0xb5, 0xc8, 0x88, 0x85, 0x29, 0xcb, 0x8e, 0xd5, 0x5b, 0xd9, 0xc1,
    0xb7, 0xb2, 0xe6, 0xf1, 0x7f, 0x9b, 0xb0, 0xa3, 0xf2, 0x8d, 0x8b, 0x48, 0xfc, 0xd7, 0xf3, 0x9f,
    0xf5, 0x54, 0x8f, 0x39, 0x52, 0x72, 0x1e, 0xbb, 0xfd, 0x81, 0x31, 0xb4, 0xa8, 0x46, 0xfe, 0x7b,
    0xe8, 0x9d, 0x04, 0xa7, 0xa8, 0xf2, 0x1d, 0xb0, 0xab, 0xf0, 0x24, 0x38, 0xbd, 0x44, 0xe4, 0x36,
    0xa8, 0x6e, 0x47, 0x36, 0x65, 0x77, 0x3b, 0xb2, 0x29, 0xd5, 0xed, 0x94, 0x95, 0x08, 0x50, 0x40,
    0x93, 0xa2, 0xed, 0x7f, 0x35, 0x60, 0x6f, 0xc2, 0x2a, 0x96, 0x77, 0x27, 0x71, 0x1b, 0xac, 0x52,
    0xd4, 0x3a, 0xf5, 0xb5, 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,
    0x10, 0xc6, 0x76, 0xed, 0x34, 0xd3, 0x0a, 0xca, 0x52, 0x21, 0x8b, 0x43, 0x14, 0x0c, 0xa2, 0x41,
    0x40, 0x10, 0xe1, 0x8e, 0x04, 0x14, 0xa4, 0x48, 0x40, 0xa3, 0x15, 0x1c, 0xe0, 0xb6, 0x76, 0xd6,
    0x3f, 0xc5, 0xf6, 0x2e, 0xf6, 0x46, 0xc5, 0x77, 0x1e, 0x82, 0x47, 0xe2, 0xc0, 0x81, 0x47, 0x40,
    0x41, 0xbc, 0x07, 0xda, 0xf1, 0x3a, 0x49, 0x45, 0x7a, 0xe2, 0xca, 0x29, 0xf3, 0xcd, 0x7c, 0x99,
    0x9f, 0x6f, 0x76, 0x0c, 0xfd, 0x7a, 0xfe, 0x71, 0x2c, 0x2b, 0xa1, 0x04, 0xd9, 0xc5, 0x9f, 0xa2,
    0x4e, 0x6e, 0x40, 0xc8, 0x6a, 0xde, 0x7a, 0x83, 0x29, 0xb8, 0xd3, 0x82, 0x25, 0x9c, 0x1c, 0x82,
    0x7b, 0x96, 0xcd, 0x55, 0xea, 0x5b, 0x43, 0x6b, 0xe4, 0xd2, 0x16, 0x90, 0xeb, 0xe0, 0xa5, 0x3c,
    0x4b, 0x52, 0xe5, 0xdb, 0xe8, 0x36, 0x88, 0x10, 0xd8, 0x99, 0x33, 0xc5, 0x7c, 0x67, 0x68, 0x8d,
    0xf6, 0x29, 0xda, 0x41, 0x02, 0xfd, 0x97, 0x2c, 0xe2, 0x4f, 0xcb, 0x24, 0xe7, 0xe4, 0x00, 0x9c,
    0x86, 0x9d, 0x99, 0x64, 0xda, 0xd4, 0x05, 0x64, 0xa6, 0xa2, 0xd4, 0x64, 0x6a, 0x81, 0x4e, 0x54,
    0x89, 0x3c, 0xc7, 0x44, 0x2e, 0x45, 0x9b, 0x0c, 0x00, 0x22, 0x51, 0xc6, 0xd9, 0x9c, 0x97, 0x11,
    0xf7, 0x77, 0x86, 0xd6, 0xc8, 0xa6, 0x1b, 0x9e, 0xe0, 0x33, 0xc0, 0xdb, 0x34, 0x56, 0x94, 0xd7,
    0x8b, 0x5c, 0xe9, 0x16, 0x13, 0x5e, 0xce, 0x79, 0x65, 0x8a, 0x19, 0xa4, 0x3b, 0x60, 0x09, 0x37,
    0xd5, 0xb4, 0x89, 0xb5, 0x58, 0xc4, 0x57, 0xb5, 0x58, 0xc4, 0xf5, 0xbf, 0x43, 0xce, 0x16, 0xaa,
    0xc1, 0x3a, 0x2e, 0x35, 0x48, 0x77, 0x5b, 0x17, 0x59, 0xce, 0x7d, 0xb7, 0xed, 0x16, 0x41, 0xf0,
    0xdd, 0x86, 0x9e, 0x9e, 0x71, 0x26, 0x6a, 0x72, 0x07, 0xbc, 0x2a, 0xd2, 0x00, 0xeb, 0xee, 0x4d,
    0x2e, 0x8f, 0x3b, 0x81, 0xc7, 0x94, 0x47, 0x8a, 0x9a, 0x28, 0x79, 0x00, 0x7d, 0xa9, 0x5e, 0xf1,
    0x58, 0xbd, 0x68, 0xda, 0x6e, 0xf6, 0x26, 0x57, 0xd6, 0xd4, 0x99, 0xc8, 0x4a, 0x45, 0xd7, 0x0c,
    0xf2, 0x10, 0x40, 0x2a, 0xaa, 0x45, 0xd6, 0x7c, 0x67, 0x3b, 0x7f, 0x83, 0x42, 0xee, 0x42, 0x4f,
    0xaa, 0xd7, 0x62, 0xa1, 0x52, 0x1c, 0x61, 0x0b, 0xbb, 0x8b, 0x93, 0x23, 0xf0, 0xa4, 0x7a, 0x23,
    0xea, 0x76, 0xaa, 0x2d, 0x4c, 0x13, 0x26, 0xf7, 0xc0, 0x8b, 0x71, 0x8f, 0xbe, 0x87, 0xc4, 0x6b,
    0x6b, 0xe2, 0x6a, 0xc5, 0xd4, 0x50, 0x88, 0x0f, 0xbd, 0x4f, 0x0b, 0x96, 0x67, 0xaa, 0xf1, 0x7b,
    0x28, 0x56, 0x07, 0xf5, 0x22, 0x63, 0x16, 0x65, 0x2c, 0x3f, 0xd6, 0x6f, 0x65, 0x17, 0xdf, 0xca,
    0x86, 0x27, 0xf8, 0x6d, 0xc3, 0xae, 0xce, 0x37, 0x2d, 0x63, 0xf1, 0x5f, 0xcf, 0x7f, 0xd6, 0x53,
    0x3f, 0xe6, 0x58, 0xcb, 0x79, 0xec, 0xf7, 0x87, 0xd6, 0xc8, 0xa1, 0x06, 0x05, 0xef, 0xa0, 0x77,
    0x12, 0x9e, 0xa2, 0xca, 0xb7, 0xc1, 0xad, 0xa2, 0x93, 0xf0, 0xf4, 0x02, 0x91, 0xdb, 0xa0, 0xbe,
    0x1d, 0xd5, 0xc8, 0xee, 0x76, 0x54, 0x23, 0xf5, 0xed, 0xc8, 0x4a, 0x84, 0x28, 0xa0, 0x4d, 0xd1,
    0x0e, 0xbe, 0x58, 0xb0, 0x3f, 0x63, 0x15, 0x2b, 0xba, 0x93, 0xb8, 0x05, 0x8e, 0x14, 0xb5, 0x49,
    0x7d, 0xf5, 0xfc, 0x8c, 0x33, 0x51, 0x53, 0x1d, 0x25, 0xf7, 0xc1, 0xab, 0xf0, 0x72, 0xcd, 0xf2,
    0x0e, 0xd7, 0xbc, 0xf5, 0x55, 0x53, 0xc3, 0x21, 0x37, 0xc1, 0xc9, 0x8a, 0xe4, 0xef, 0xbd, 0xe1,
    0x47, 0x8b, 0xea, 0x58, 0xf0, 0x04, 0x0e, 0x56, 0x5d, 0x3c, 0x17, 0x85, 0x64, 0x15, 0x7e, 0xcd,
    0x62, 0xce, 0xd4, 0x23, 0xec, 0x65, 0x9f, 0xb6, 0xa0, 0xf3, 0x4e, 0xb0, 0xb2, 0xf1, 0x4e, 0x82,
    0x0f, 0x66, 0x8a, 0xf7, 0x22, 0x17, 0x7a, 0xf8, 0x23, 0x70, 0xb3, 0x32, 0xc6, 0x39, 0x9c, 0xf3,
    0x73, 0x18, 0x11, 0x69, 0x1b, 0xef, 0x7a, 0xb3, 0x2f, 0xee, 0xed, 0xd9, 0xc1, 0xb7, 0xe5, 0xc0,
    0xfa, 0xb1, 0x1c, 0x58, 0x3f, 0x97, 0x03, 0xeb, 0xeb, 0xaf, 0xc1, 0xa5, 0xd0, 0x43, 0xda, 0xe3,
    0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4b, 0x3e, 0x0d, 0xdf, 0x9a, 0x05, 0x00, 0x00,
}
func (m *Image) Marshal() (dAtA []byte, err error) {
@@ -748,6 +774,9 @@
        i++
        i = encodeVarintSdk(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
}
@@ -787,6 +816,9 @@
        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
}
@@ -830,6 +862,9 @@
        dAtA[i] = 0x28
        i++
        i = encodeVarintSdk(dAtA, i, uint64(m.Smile))
    }
    if m.XXX_unrecognized != nil {
        i += copy(dAtA[i:], m.XXX_unrecognized)
    }
    return i, nil
}
@@ -919,6 +954,9 @@
        i++
        i = encodeVarintSdk(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
}
@@ -1014,6 +1052,9 @@
        i++
        i = encodeVarintSdk(dAtA, i, uint64(m.FaceID))
    }
    if m.XXX_unrecognized != nil {
        i += copy(dAtA[i:], m.XXX_unrecognized)
    }
    return i, nil
}
@@ -1052,6 +1093,9 @@
        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
}
@@ -1101,6 +1145,9 @@
        }
        i += n16
    }
    if m.XXX_unrecognized != nil {
        i += copy(dAtA[i:], m.XXX_unrecognized)
    }
    return i, nil
}
@@ -1130,6 +1177,9 @@
        i++
        i = encodeVarintSdk(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
}
@@ -1171,6 +1221,9 @@
        }
        i += n17
    }
    if m.XXX_unrecognized != nil {
        i += copy(dAtA[i:], m.XXX_unrecognized)
    }
    return i, nil
}
@@ -1199,6 +1252,9 @@
    if l > 0 {
        n += 1 + l + sovSdk(uint64(l))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1219,6 +1275,9 @@
    }
    if m.Confidence != 0 {
        n += 5
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1243,6 +1302,9 @@
    }
    if m.Smile != 0 {
        n += 1 + sovSdk(uint64(m.Smile))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1283,6 +1345,9 @@
    l = len(m.FacialData)
    if l > 0 {
        n += 1 + l + sovSdk(uint64(l))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1327,6 +1392,9 @@
    if m.FaceID != 0 {
        n += 1 + sovSdk(uint64(m.FaceID))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1345,6 +1413,9 @@
    }
    if m.Prob != 0 {
        n += 5
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1367,6 +1438,9 @@
        l = m.Img.Size()
        n += 1 + l + sovSdk(uint64(l))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1383,6 +1457,9 @@
    l = len(m.Feat2)
    if l > 0 {
        n += 1 + l + sovSdk(uint64(l))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1402,6 +1479,9 @@
    if m.Img != nil {
        l = m.Img.Size()
        n += 1 + l + sovSdk(uint64(l))
    }
    if m.XXX_unrecognized != nil {
        n += len(m.XXX_unrecognized)
    }
    return n
}
@@ -1535,6 +1615,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -1656,6 +1737,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -1804,6 +1886,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -2126,6 +2209,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -2467,6 +2551,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -2586,6 +2671,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -2747,6 +2833,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -2868,6 +2955,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }
@@ -2991,6 +3079,7 @@
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
            iNdEx += skippy
        }
    }