2021-05-17 04:21:50 +03:00
|
|
|
// +build !debug,!nocv
|
2020-02-03 06:58:06 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
DESCRIPTION
|
2020-02-07 04:12:27 +03:00
|
|
|
Displays debug information for the motion filters.
|
2020-02-03 06:58:06 +03:00
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
Scott Barnard <scott@ausocean.org>
|
|
|
|
|
|
|
|
LICENSE
|
|
|
|
This file is Copyright (C) 2020 the Australian Ocean Lab (AusOcean)
|
|
|
|
|
|
|
|
It is free software: you can redistribute it and/or modify them
|
|
|
|
under the terms of the GNU General Public License as published by the
|
|
|
|
Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
option) any later version.
|
|
|
|
|
|
|
|
It is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
in gpl.txt. If not, see http://www.gnu.org/licenses.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package filter
|
|
|
|
|
2020-02-07 04:12:27 +03:00
|
|
|
import (
|
|
|
|
"image"
|
|
|
|
)
|
2020-02-03 06:58:06 +03:00
|
|
|
|
2020-02-07 04:12:27 +03:00
|
|
|
// debugWindows is used for displaying debug information for the motion filters.
|
|
|
|
type debugWindows struct{}
|
2020-02-03 06:58:06 +03:00
|
|
|
|
2020-02-07 04:12:27 +03:00
|
|
|
// close frees resources used by gocv.
|
|
|
|
func (d *debugWindows) close() error { return nil }
|
2020-02-03 06:58:06 +03:00
|
|
|
|
2020-02-07 04:12:27 +03:00
|
|
|
// newWindows creates debugging windows for the motion filter.
|
|
|
|
func newWindows(name string) debugWindows { return debugWindows{} }
|
2020-02-03 06:58:06 +03:00
|
|
|
|
2020-02-07 04:12:27 +03:00
|
|
|
// show displays debug information for the motion filters.
|
|
|
|
func (d *debugWindows) show(img, imgDelta interface{}, motion bool, contours *[][]image.Point, text ...string) {
|
|
|
|
}
|