hybridgroup.gobot/platforms/opencv/helpers_test.go

16 lines
220 B
Go
Raw Permalink Normal View History

2014-07-24 07:38:46 +08:00
package opencv
import (
"gocv.io/x/gocv"
)
2014-07-24 07:38:46 +08:00
type testCapture struct{}
func (c *testCapture) Read(img *gocv.Mat) bool {
2014-07-24 07:38:46 +08:00
return true
}
2014-07-24 07:54:39 +08:00
type testWindow struct{}
func (w *testWindow) ShowImage(img gocv.Mat) { return }