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