gobot.io/x/gobot@v1.16.0/platforms/opencv/helpers_test.go (about)

     1  package opencv
     2  
     3  import (
     4  	"gocv.io/x/gocv"
     5  )
     6  
     7  type testCapture struct{}
     8  
     9  func (c *testCapture) Read(img *gocv.Mat) bool {
    10  	return true
    11  }
    12  
    13  type testWindow struct{}
    14  
    15  func (w *testWindow) ShowImage(img gocv.Mat) { return }