Giter Club home page Giter Club logo

depthai-gui's People

Contributors

alex-luxonis avatar ashervo avatar aspartamed avatar cclauss avatar ilgarlunin avatar kmanfi avatar looooo avatar melmass avatar pedrocabrera avatar szabolcsgergely avatar vandavv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

depthai-gui's Issues

[BUG] Broken link to NodeGraphQt Documentation

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:

  1. Open https://github.com/luxonis/depthai-gui/tree/master
  2. Click on link NodeGraphQt Documentation in section "Navigation" of the README.md

Expected behavior

The link should open the documentation page.

Screenshots

image

Additional context

N.A.

device not found error when using depthai-gui

OS: Ubuntu 18.04
Kernel: 5.4.0-1-generic
System: x86_64 x86_64 x86_64 GNU/Linux
Device - OAK-D
I am able to run all the gen2 pipeline demos from the repo

But when using the pipeline builder event the most simple flow is failing as shown in the screenshots attached
Screenshot from 2021-08-18 17-59-47
Screenshot from 2021-08-18 17-57-54
Screenshot from 2021-08-18 17-55-00

Examples don't load nodes

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.

depthai-gui v2.0.4 - unexpected type 'PosixPath'

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

Error when running depthai-gui

I keep getting these error windows when I run the depthai-gui command...
What should I do? I never see the depthai package in the GUI

Screenshot 2021-03-26 at 01 33 27

I hit Ok

Screenshot 2021-03-26 at 01 36 08

hit ok

Screenshot 2021-03-26 at 01 36 19

hit ok

Screenshot 2021-03-26 at 01 36 40

TypeError: 'PySide2.QtCore.Qt.WindowType' object cannot be interpreted as an integer

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.