@@ -420,6 +420,8 @@ components:
|
||||
type: number
|
||||
rpiCameraAfWindow:
|
||||
type: string
|
||||
rpiCameraFlickerPeriod:
|
||||
type: integer
|
||||
rpiCameraTextOverlayEnable:
|
||||
type: boolean
|
||||
rpiCameraTextOverlay:
|
||||
|
||||
@@ -161,6 +161,7 @@ type Path struct {
|
||||
RPICameraAfSpeed string `json:"rpiCameraAfSpeed"`
|
||||
RPICameraLensPosition float64 `json:"rpiCameraLensPosition"`
|
||||
RPICameraAfWindow string `json:"rpiCameraAfWindow"`
|
||||
RPICameraFlickerPeriod int `json:"rpiCameraFlickerPeriod"`
|
||||
RPICameraTextOverlayEnable bool `json:"rpiCameraTextOverlayEnable"`
|
||||
RPICameraTextOverlay string `json:"rpiCameraTextOverlay"`
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ func pathConfCanBeUpdated(oldPathConf *conf.Path, newPathConf *conf.Path) bool {
|
||||
clone.RPICameraSaturation = newPathConf.RPICameraSaturation
|
||||
clone.RPICameraSharpness = newPathConf.RPICameraSharpness
|
||||
clone.RPICameraExposure = newPathConf.RPICameraExposure
|
||||
clone.RPICameraFlickerPeriod = newPathConf.RPICameraFlickerPeriod
|
||||
clone.RPICameraAWB = newPathConf.RPICameraAWB
|
||||
clone.RPICameraAWBGains = newPathConf.RPICameraAWBGains
|
||||
clone.RPICameraDenoise = newPathConf.RPICameraDenoise
|
||||
|
||||
@@ -1 +1 @@
|
||||
v2.0.0
|
||||
v2.1.0
|
||||
|
||||
@@ -34,6 +34,7 @@ type params struct {
|
||||
AfSpeed string
|
||||
LensPosition float64
|
||||
AfWindow string
|
||||
FlickerPeriod int
|
||||
TextOverlayEnable bool
|
||||
TextOverlay string
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@ func paramsFromConf(logLevel conf.LogLevel, cnf *conf.Path) params {
|
||||
AfSpeed: cnf.RPICameraAfSpeed,
|
||||
LensPosition: cnf.RPICameraLensPosition,
|
||||
AfWindow: cnf.RPICameraAfWindow,
|
||||
FlickerPeriod: cnf.RPICameraFlickerPeriod,
|
||||
TextOverlayEnable: cnf.RPICameraTextOverlayEnable,
|
||||
TextOverlay: cnf.RPICameraTextOverlay,
|
||||
}
|
||||
|
||||
@@ -582,6 +582,8 @@ pathDefaults:
|
||||
# Specifies the autofocus window, in the form x,y,width,height where the coordinates
|
||||
# are given as a proportion of the entire image.
|
||||
rpiCameraAfWindow:
|
||||
# Manual flicker correction period, in microseconds.
|
||||
rpiCameraFlickerPeriod: 0
|
||||
# enables printing text on each frame.
|
||||
rpiCameraTextOverlayEnable: false
|
||||
# text that is printed on each frame.
|
||||
|
||||
Reference in New Issue
Block a user