mirror of https://bitbucket.org/ausocean/av.git
Initial turbidity implementation
This commit is contained in:
parent
eafc0179c3
commit
8618ee2a44
|
@ -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)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue