liuxiaolong
2019-06-27 31a9d64a0cc99011263c4516dfaac5c9879a0c45
service/FaceSdkService.go
@@ -27,10 +27,9 @@
func TestPushImgMsg() {
   InitService()
   proImg := readImgFile()
   if b, err := proto.Marshal(&proImg);err !=nil{
   i := readImgFile()
   if b, err := proto.Marshal(&i);err !=nil{
      fmt.Println("protoImage marshal err")
      return
   } else {
@@ -74,7 +73,7 @@
   width := int32(picMat.Rows())
   height := int32(picMat.Cols())
   data := picMat.DataPtrUint8()
   fmt.Printf("data.width:%d,height:%d,data.length:%d",width,height,len(data))
   fmt.Printf("width:%d,height:%d,data.length:%d,timestamp:%s",width,height,len(data),formatTimeStr)
   i = protomsg.Image{
      Width: width,
      Height: height,