diff options
author | Manel Caro <mcaro@iatec.biz> | 2020-10-05 11:44:22 +0200 |
---|---|---|
committer | Manel Caro <mcaro@iatec.biz> | 2020-10-05 11:44:22 +0200 |
commit | e7631181c08c38c196558fc79b648d78ccaadcc8 (patch) | |
tree | c574b298ffe458698a5ef70b706885f9d9acf431 /test-cli/test/helpers | |
parent | 5771dcc8acabd2f4f560768cf45615e929409f6e (diff) | |
download | board-e7631181c08c38c196558fc79b648d78ccaadcc8.zip board-e7631181c08c38c196558fc79b648d78ccaadcc8.tar.gz board-e7631181c08c38c196558fc79b648d78ccaadcc8.tar.bz2 |
Add qvideo variables
Diffstat (limited to 'test-cli/test/helpers')
-rw-r--r-- | test-cli/test/helpers/camara.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test-cli/test/helpers/camara.py b/test-cli/test/helpers/camara.py index bcb1df7..b23df74 100644 --- a/test-cli/test/helpers/camara.py +++ b/test-cli/test/helpers/camara.py @@ -17,7 +17,7 @@ class Camara(object): self.__device_name = device self.__w = width self.__h = height - self.__setupScriptPath = setup_script_path; + self.__setupScriptPath = setup_script_path def Close(self): if self.__device is not None: @@ -64,8 +64,7 @@ class Camara(object): def __configure(self): self.__w = self.__setCamVar(cv2.CAP_PROP_FRAME_WIDTH, self.__w) self.__h = self.__setCamVar(cv2.CAP_PROP_FRAME_HEIGHT, self.__h) - sh.bash(self.__setupScriptPath + '/test/scripts/v4l-cam.sh') - # sh.bash("../scripts/v4l-cam.sh") + sh.bash(self.__setupScriptPath) def __setCamVar(self, key, val): valold = cv2.VideoCapture.get(self.__device, key) |