Move options to file

This commit is contained in:
Milan Nikolic
2019-10-06 03:14:07 +02:00
parent 2628bbefbf
commit 3844a46486
5 changed files with 9 additions and 32 deletions

View File

@@ -11,14 +11,6 @@ import (
"github.com/gen2brain/go-opencv/opencv"
)
// Options.
type Options struct {
Index int
Rotate int
Width float64
Height float64
}
// Camera represents camera.
type Camera struct {
opts Options