av/turbidity/turbidity.go

22 lines
248 B
Go
Raw Normal View History

2021-12-15 06:55:14 +03:00
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)
}
}