grey scale is now properly saved to disk as current
This commit is contained in:
parent
a0ae04c494
commit
280b3327bf
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ func (s Stream) Update() {
|
|||
go gocv.IMWrite(s.GetCurrentColorInstantPath(), mat)
|
||||
|
||||
grey := gocv.NewMat()
|
||||
gocv.CvtColor(mat, &grey, gocv.ColorBGRAToBGR)
|
||||
gocv.GaussianBlur(mat, &mat, image.Point{X: 21, Y: 21}, 0, 0, gocv.BorderReflect)
|
||||
gocv.CvtColor(mat, &grey, gocv.ColorBGRAToGray)
|
||||
gocv.GaussianBlur(grey, &grey, image.Point{X: 21, Y: 21}, 0, 0, gocv.BorderReflect)
|
||||
go s.SaveStreamInstant(grey)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue