av/filter/release.go

46 lines
1.4 KiB
Go
Raw Permalink Normal View History

//go:build debug && withcv
// +build debug,withcv
2022-05-31 08:17:06 +03:00
/*
DESCRIPTION
Displays debug information for the motion filters.
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
import (
"image"
)
// debugWindows is used for displaying debug information for the motion filters.
type debugWindows struct{}
// close frees resources used by gocv.
func (d *debugWindows) close() error { return nil }
// newWindows creates debugging windows for the motion filter.
func newWindows(name string) debugWindows { return debugWindows{} }
// show displays debug information for the motion filters.
func (d *debugWindows) show(img, imgDelta interface{}, motion bool, contours *[][]image.Point, text ...string) {
}