mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-24 13:48:49 +08:00
19 lines
252 B
Go
19 lines
252 B
Go
//go:build gocv
|
|
// +build gocv
|
|
|
|
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 }
|