rpicamera: change default resolution to 1920x1080

This commit is contained in:
aler9 2022-10-25 11:29:04 +02:00
parent 7013b75daf
commit 532592c099
2 changed files with 4 additions and 4 deletions

View File

@ -194,10 +194,10 @@ func (pconf *PathConf) checkAndFillMissing(conf *Conf, name string) error {
} }
if pconf.RPICameraWidth == 0 { if pconf.RPICameraWidth == 0 {
pconf.RPICameraWidth = 1280 pconf.RPICameraWidth = 1920
} }
if pconf.RPICameraHeight == 0 { if pconf.RPICameraHeight == 0 {
pconf.RPICameraHeight = 720 pconf.RPICameraHeight = 1080
} }
if pconf.RPICameraContrast == 0 { if pconf.RPICameraContrast == 0 {
pconf.RPICameraContrast = 1 pconf.RPICameraContrast = 1

View File

@ -231,9 +231,9 @@ paths:
# ID of the camera # ID of the camera
rpiCameraCamID: 0 rpiCameraCamID: 0
# width of frames # width of frames
rpiCameraWidth: 1280 rpiCameraWidth: 1920
# height of frames # height of frames
rpiCameraHeight: 720 rpiCameraHeight: 1080
# flip horizontally # flip horizontally
rpiCameraHFlip: false rpiCameraHFlip: false
# flip vertically # flip vertically