VIS-47 #11
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user