luxonis / depthai-gui Goto Github PK
View Code? Open in Web Editor NEWDepthAI Pipeline Builder GUI
DepthAI Pipeline Builder GUI
Check if issue already exists
Does not seem so.
Describe the bug
It looks like the link to NodeGraphQt Documentation writte in https://github.com/luxonis/depthai-gui/blob/master/README.md?plain=1#L31 is broken.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The link should open the documentation page.
Screenshots
Additional context
N.A.
I assume export is to export the generated python file for manual editing?
I hate to stars off as a newb, but I must have missed something basic.
Installed on Ubuntu, and have it running in a venv. I can start PyFlow window with both the generic depthai-gui and with the file extension, but there is nothing in the graph window. I tried using the load command, and it appears to work, but still no nodes. Finally Add Custom button is active and I can open the dialog box, but by entering Cam, Camera, 1, etc. and then 1 and 2 or 1 or 0 and 1... matters not, I get warning dialog with list index is out of range.
I have the OAK-D running on the command line with all examples, etc.
Hello to everybody!
I am playing around with depthai-gui 2.0.4 on a Mac. I like the graphical view of the pipeline. As a beginner of DepthAI this gives be a much better understanding. But whenever I try to do some file action (open, save, import, etc.) the program crashes with the following error:
Traceback (most recent call last):
File "/Users/bongartz/depthai-gui-master/NodeGraphQt/base/utils.py", line 216, in _save_session_as
file_path = graph.save_dialog(current)
File "/Users/bongartz/depthai-gui-master/NodeGraphQt/base/graph.py", line 1870, in save_dialog
return self._viewer.save_dialog(current_dir, ext)
File "/Users/bongartz/depthai-gui-master/NodeGraphQt/widgets/viewer.py", line 926, in save_dialog
file_dlg = FileDialog.getSaveFileName(
File "/Users/bongartz/depthai-gui-master/NodeGraphQt/widgets/dialogs.py", line 24, in getSaveFileName
file_dlg = QtWidgets.QFileDialog.getSaveFileName(
TypeError: getSaveFileName(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0): argument 3 has unexpected type 'PosixPath'
Abort trap: 6
I am far from being an expert in Python programming in general and NodeGraphQt in particular. So my quick and dirty workaround is to add the following after line 116 in the file depthai-gui-master/NodeGraphQt/base/utils.py
115: global default_file_path
116: default_file_path = set_default_file_path
117: default_file_path = '/users'
to set default_file_path to a defined string value. This works for me. Maybe someone can take look on this for a more general fix.
Best regards
Jens
Got this error after installing according to the readme instructions (on Linux):
> pip install depthai-gui
Defaulting to user installation because normal site-packages is not writeable
WARNING: Keyring is skipped due to an exception: g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2)
Collecting depthai-gui
Downloading depthai_gui-1.0.12-py3-none-any.whl (48.4 MB)
|████████████████████████████████| 48.4 MB 10.8 MB/s
Collecting depthai
Downloading depthai-2.14.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.5 MB)
|████████████████████████████████| 9.5 MB 10.5 MB/s
Collecting PySide2
Downloading PySide2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (156.1 MB)
|████████████████████████████████| 156.1 MB 200 kB/s
Collecting opencv-python
Downloading opencv_python-4.5.5.62-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.4 MB)
|████████████████████████████████| 60.4 MB 10.7 MB/s
Requirement already satisfied: docutils in /usr/lib/python3.10/site-packages (from depthai-gui) (0.16)
Collecting blinker
Downloading blinker-1.4.tar.gz (111 kB)
|████████████████████████████████| 111 kB 13.5 MB/s
Collecting Qt.py
Downloading Qt.py-1.3.6-py2.py3-none-any.whl (18 kB)
Collecting nine
Downloading nine-1.1.0-py2.py3-none-any.whl (9.2 kB)
Requirement already satisfied: numpy>=1.17.3 in /usr/lib/python3.10/site-packages (from opencv-python->depthai-gui) (1.21.5)
Collecting shiboken2==5.13.2
Downloading shiboken2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (832 kB)
|████████████████████████████████| 832 kB 11.4 MB/s
Using legacy 'setup.py install' for blinker, since package 'wheel' is not installed.
Installing collected packages: shiboken2, Qt.py, PySide2, opencv-python, nine, depthai, blinker, depthai-gui
Running setup.py install for blinker ... done
Successfully installed PySide2-5.13.2 Qt.py-1.3.6 blinker-1.4 depthai-2.14.0.0 depthai-gui-1.0.12 nine-1.1.0 opencv-python-4.5.5.62 shiboken2-5.13.2
> depthai-gui
Traceback (most recent call last):
File "/home/sludge/.local/bin/depthai-gui", line 8, in <module>
sys.exit(main())
File "/home/sludge/.local/lib/python3.10/site-packages/PyFlow/Scripts/__init__.py", line 74, in main
instance = PyFlow.instance(software="standalone")
File "/home/sludge/.local/lib/python3.10/site-packages/PyFlow/App.py", line 575, in instance
instance = PyFlow(parent)
File "/home/sludge/.local/lib/python3.10/site-packages/PyFlow/App.py", line 108, in __init__
self.canvasWidget = BlueprintCanvasWidget(self.graphManager.get(), self)
File "/home/sludge/.local/lib/python3.10/site-packages/PyFlow/UI/Widgets/BlueprintCanvas.py", line 1764, in __init__
self.canvas = BlueprintCanvas(graphManager, pyFlowInstance)
File "/home/sludge/.local/lib/python3.10/site-packages/PyFlow/UI/Widgets/BlueprintCanvas.py", line 128, in __init__
self.node_box.setWindowFlags(QtCore.Qt.Window | QtCore.Qt.FramelessWindowHint)
TypeError: 'PySide2.QtCore.Qt.WindowType' object cannot be interpreted as an integer
Perhaps a dependency version changed and should be pinned in requirements.txt
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.