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