拟合GPS位置

This commit is contained in:
nuknal
2024-07-03 09:50:14 +08:00
parent d99b8a9740
commit 31887a6bfe
11 changed files with 293 additions and 8 deletions

View File

@@ -4,7 +4,6 @@ import (
"image"
"math"
log "github.com/sirupsen/logrus"
"gocv.io/x/gocv"
"starwiz.cn/sjy01/image-proc/pkg/config"
)
@@ -12,7 +11,6 @@ import (
// filter high frequence noise
func HFNoiseFilter(img gocv.Mat, radius float64) gocv.Mat {
minGrayVal, maxGrayVal, _, _ := gocv.MinMaxLoc(img)
log.Println("minGrayVal:", minGrayVal, "maxGrayVal:", maxGrayVal)
// 将图像转换为32位浮点型
img32f := gocv.NewMat()