Initial turbidity implementation

This commit is contained in:
Russell Stanley 2021-12-15 14:25:14 +10:30
parent eafc0179c3
commit 8618ee2a44
1 changed files with 21 additions and 0 deletions

21
turbidity/turbidity.go Normal file
View File

@ -0,0 +1,21 @@
package main
import (
"fmt"
"gocv.io/x/gocv"
)
func main() {
var flag gocv.IMReadFlag = 0
window := gocv.NewWindow("Test")
img := gocv.IMRead("secci.jpg", flag)
fmt.Print(img.Size())
for {
window.IMShow(img)
window.WaitKey(0)
}
}