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) } }