Simplest working Python GUI with VNC

Hello!
I tried this fantastic example Running a GUI application with balenaCloud and it works very well! Thank you Daniel Andrade!

Now, instead of gnome-calculator or xeyes, I would like to try running a Python program that displays the simplest HelloWorld using any GUI framework.
I’ve tried a few things with Tk and PyQt but ended up in a rabbit hole.

The ultimate goal is to run Luxonis depthai-sdk Quickstart — DepthAI SDK Docs 1.13.0 documentation in the container and view the Visualizer output using VNC, example:

from depthai_sdk import OakCamera

with OakCamera() as oak:
    color = oak.create_camera('color', resolution='1080p')
    oak.visualize([color])
    oak.start(blocking=True)
    # this code doesn't execute until the pipeline is stopped

Any help or code snippets would be greatly appreciated!

1 Like

Hello @craftonix_aa nice to see that you are trying to visualize outputs through VNC.

Could you please tell us more the issues that you had trying to run Tk or PyQt?

Thanks