uncommented stuff

This commit is contained in:
VanillaHellen 2021-01-25 16:52:04 +01:00
parent 0864afb2b7
commit e5b595a86d

View File

@ -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