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,