2014-07-24 07:38:46 +08:00
|
|
|
package opencv
|
|
|
|
|
2017-10-05 23:05:10 +08:00
|
|
|
import (
|
2017-10-19 00:13:40 +08:00
|
|
|
"gocv.io/x/gocv"
|
2017-10-05 23:05:10 +08:00
|
|
|
)
|
2014-07-24 07:38:46 +08:00
|
|
|
|
|
|
|
type testCapture struct{}
|
|
|
|
|
2018-04-24 18:56:26 +08:00
|
|
|
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{}
|
|
|
|
|
2017-10-05 23:05:10 +08:00
|
|
|
func (w *testWindow) ShowImage(img gocv.Mat) { return }
|