浏览代码

zoom centrado

David 10 年之前
父节点
当前提交
80e2857864
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      camera1/cam-to-udp.sh

+ 2 - 1
camera1/cam-to-udp.sh

@@ -35,8 +35,9 @@ while [ $# -gt 0 ]; do
 	fi
 	if [ "$1" == "trat" ]; then
 		echo "trat!"
-		roitrat="roi-x=0.25 roi-y=0 roi-w=0.75 roi-h=0.75"
 		roitrat="roi-x=0.35 roi-y=0 roi-w=0.65 roi-h=0.65"
+		roitrat="roi-x=0.25 roi-y=0 roi-w=0.75 roi-h=0.75"
+		roitrat="roi-x=0.25 roi-y=0.25 roi-w=0.5 roi-h=0.5" #centered?
 		roi=$roitrat
 	fi
 	shift