liuxiaolong
2019-06-27 bbb5de27a1ebc25b6b4f0dccc674729f27105680
test
1个文件已修改
3 ■■■■ 已修改文件
service/FaceSdkService.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/FaceSdkService.go
@@ -30,7 +30,6 @@
    i := readImgFile()
    fmt.Printf("width:%d,height:%d,data.length:%d,timestamp:%s,id:%d\n",i.Width,i.Height,len(i.Data),i.Timestamp,i.Id)
    i.Data = []byte("hello")
    if b, err := proto.Marshal(&i);err !=nil{
        fmt.Println("protoImage marshal err")
        return
@@ -74,7 +73,7 @@
    }
    width := int32(picMat.Rows())
    height := int32(picMat.Cols())
    data := picMat.DataPtrUint8()
    data := picMat.ToBytes()
    i = protomsg.Image{
        Width: width,
        Height: height,