refactor: mv camera package to pkg dir

This commit is contained in:
Cyrille Nofficial 2021-10-12 18:54:37 +02:00
parent ddb8aaba28
commit ca5070ed8b
4 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB