uncommented stuff
This commit is contained in:
parent
0864afb2b7
commit
e5b595a86d
@ -63,10 +63,10 @@ class LibraryTableButtons(QWidget):
|
|||||||
table.fillTable(type, mainWindow)
|
table.fillTable(type, mainWindow)
|
||||||
|
|
||||||
def analyzeFile():
|
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 = subprocess.Popen(cmd, cwd="../yolov5/", stdout=subprocess.PIPE)
|
||||||
# popen.wait()
|
popen.wait()
|
||||||
# todo: display gif/spinning wheel
|
# todo: display gif/spinning wheel
|
||||||
mainWindow.showVisualisation(file)
|
mainWindow.showVisualisation(file)
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user