From e5b595a86d4719b6bcb4cd4cbcddaff436f7982f Mon Sep 17 00:00:00 2001 From: VanillaHellen Date: Mon, 25 Jan 2021 16:52:04 +0100 Subject: [PATCH] uncommented stuff --- win_venv/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win_venv/main.py b/win_venv/main.py index ba78008..e11e868 100644 --- a/win_venv/main.py +++ b/win_venv/main.py @@ -63,10 +63,10 @@ class LibraryTableButtons(QWidget): table.fillTable(type, mainWindow) def analyzeFile(): - # cmd = "py detect.py --source {} --view-img".format(str(file)) + cmd = "py detect.py --source {} --view-img".format(str(file)) - # popen = subprocess.Popen(cmd, cwd="../yolov5/", stdout=subprocess.PIPE) - # popen.wait() + popen = subprocess.Popen(cmd, cwd="../yolov5/", stdout=subprocess.PIPE) + popen.wait() # todo: display gif/spinning wheel mainWindow.showVisualisation(file) pass