liuxiaolong
2019-06-27 8ceae6fc8ef80a43e1c5e4c82487963a3450cb7b
service/FaceSdkService.go
@@ -65,14 +65,17 @@
   picMat := gocv.IMRead(filePath, gocv.IMReadColor)
   window := gocv.NewWindow("Hello")
   window.IMShow(picMat)
   defer picMat.Close()
   if picMat.Empty() {
      fmt.Println("file not exist")
      return i
   }
   width := int32(picMat.Rows())
   height := int32(picMat.Cols())
   height := int32(picMat.Rows())
   width := int32(picMat.Cols())
   data := picMat.ToBytes()
   i = protomsg.Image{
      Width: width,