mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-27 13:48:56 +08:00
16 lines
220 B
Go
16 lines
220 B
Go
package opencv
|
|
|
|
import (
|
|
"gocv.io/x/gocv"
|
|
)
|
|
|
|
type testCapture struct{}
|
|
|
|
func (c *testCapture) Read(img *gocv.Mat) bool {
|
|
return true
|
|
}
|
|
|
|
type testWindow struct{}
|
|
|
|
func (w *testWindow) ShowImage(img gocv.Mat) { return }
|