Open Aricling opened 1 week ago
I am not entirely sure what your setup is here but I'm assuming you are trying to X forward the aitviewer output to your local machine from a Linux server? I have no experience with XQuartz unfortunately. You could try to swap the window type to pyglet
instead of Qt, but I doubt that this will change anything:
from aitviewer.configuration import CONFIG as C
from aitviewer.viewer import Viewer
C.update_conf({"window_type": "pyglet"})
v = Viewer()
v.run()
Other than that I would simply avoid X forwarding and use the remote viewer capabilities to transfer data via TCP.
i'm running the test demo provided in https://eth-ait.github.io/aitviewer/ and here is my code on my remote linux server:
Meanwhile, I use the XQuartz for visualization, after running
python test_viewer.py
, the terminal returns:and an aitviewer page pumps out, but the page is only a blank page like this:
I have tried many times, but it's always a blank page, my
xeyes
command can work andcv2.imshow
can work too(when using opencv-python). I'm using opencv-python-headless version for aitviewer but it just doesn't work. Hope someone can help, thanks a lot!