refactor: mv camera package to pkg dir
This commit is contained in:
parent
ddb8aaba28
commit
ca5070ed8b
@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"flag"
|
||||
"github.com/cyrilix/robocar-base/cli"
|
||||
"github.com/cyrilix/robocar-camera/camera"
|
||||
"github.com/cyrilix/robocar-camera/pkg/camera"
|
||||
"go.uber.org/zap"
|
||||
"gocv.io/x/gocv"
|
||||
"log"
|
||||
|
@ -19,9 +19,9 @@ type VideoSource interface {
|
||||
}
|
||||
|
||||
type OpencvCameraPart struct {
|
||||
client mqtt.Client
|
||||
vc VideoSource
|
||||
topic string
|
||||
client mqtt.Client
|
||||
vc VideoSource
|
||||
topic string
|
||||
publishFrequency int
|
||||
muImgBuffered sync.Mutex
|
||||
imgBuffered *gocv.Mat
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Loading…
Reference in New Issue
Block a user