From eb5a5f99a7450eb279297f98f18f0a9700be7264 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 29 八月 2019 19:39:47 +0800 Subject: [PATCH] fix detect res --- facedetect.pb.go | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/facedetect.pb.go b/facedetect.pb.go index 8cecbe1..2833ca7 100644 --- a/facedetect.pb.go +++ b/facedetect.pb.go @@ -70,16 +70,16 @@ func init() { proto.RegisterFile("facedetect.proto", fileDescriptor_5314bd1755b5a080) } var fileDescriptor_5314bd1755b5a080 = []byte{ - // 130 bytes of a gzipped FileDescriptorProto + // 129 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x48, 0x4b, 0x4c, 0x4e, 0x4d, 0x49, 0x2d, 0x49, 0x4d, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xb9, 0xc5, 0xe9, 0x52, 0x9c, 0xc5, 0x29, 0xd9, 0x10, 0x41, 0x25, 0x7d, 0x2e, 0x41, 0xb7, 0xc4, 0xe4, 0x54, 0x17, 0xb0, 0xc2, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, 0xe2, 0x12, 0x21, 0x29, 0x2e, 0x8e, 0xa2, 0xd4, 0xc2, 0x80, 0xc4, 0xa2, 0xc4, 0x5c, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x38, - 0xdf, 0x28, 0x94, 0x8b, 0x0b, 0xa1, 0x41, 0xc8, 0x1d, 0x85, 0x27, 0xad, 0x07, 0xb3, 0x42, 0x0f, - 0xc3, 0x50, 0x29, 0x29, 0x84, 0x64, 0x50, 0x6a, 0x71, 0x69, 0x4e, 0x09, 0x42, 0x89, 0x12, 0x43, - 0x12, 0x1b, 0x58, 0xd2, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x21, 0x77, 0x67, 0x6d, 0xb7, 0x00, - 0x00, 0x00, + 0xdf, 0x28, 0x90, 0x8b, 0x0b, 0xa1, 0x41, 0xc8, 0x19, 0x85, 0x27, 0xad, 0x07, 0xb3, 0x42, 0x0f, + 0xc3, 0x50, 0x29, 0x31, 0x84, 0x24, 0xd8, 0x24, 0x90, 0x8a, 0x80, 0xfc, 0x62, 0x25, 0x86, 0x24, + 0x36, 0xb0, 0x84, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x63, 0xa0, 0x0f, 0x51, 0xb3, 0x00, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -94,7 +94,7 @@ // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type FaceDetectClient interface { - FaceDetect(ctx context.Context, in *FaceDetectRequest, opts ...grpc.CallOption) (*ResultFaceDetect, error) + FaceDetect(ctx context.Context, in *FaceDetectRequest, opts ...grpc.CallOption) (*ParamFacePos, error) } type faceDetectClient struct { @@ -105,8 +105,8 @@ return &faceDetectClient{cc} } -func (c *faceDetectClient) FaceDetect(ctx context.Context, in *FaceDetectRequest, opts ...grpc.CallOption) (*ResultFaceDetect, error) { - out := new(ResultFaceDetect) +func (c *faceDetectClient) FaceDetect(ctx context.Context, in *FaceDetectRequest, opts ...grpc.CallOption) (*ParamFacePos, error) { + out := new(ParamFacePos) err := c.cc.Invoke(ctx, "/protomsg.FaceDetect/FaceDetect", in, out, opts...) if err != nil { return nil, err @@ -116,14 +116,14 @@ // FaceDetectServer is the server API for FaceDetect service. type FaceDetectServer interface { - FaceDetect(context.Context, *FaceDetectRequest) (*ResultFaceDetect, error) + FaceDetect(context.Context, *FaceDetectRequest) (*ParamFacePos, error) } // UnimplementedFaceDetectServer can be embedded to have forward compatible implementations. type UnimplementedFaceDetectServer struct { } -func (*UnimplementedFaceDetectServer) FaceDetect(ctx context.Context, req *FaceDetectRequest) (*ResultFaceDetect, error) { +func (*UnimplementedFaceDetectServer) FaceDetect(ctx context.Context, req *FaceDetectRequest) (*ParamFacePos, error) { return nil, status.Errorf(codes.Unimplemented, "method FaceDetect not implemented") } -- Gitblit v1.8.0