service/FaceSdkService.go | ●●●●● 补丁 | 查看 | 原始文档 | 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,