prophesee-ai / prophesee-automotive-dataset-toolbox

A set of Python scripts to evaluate the Automotive Datasets provided by Prophesee
Apache License 2.0
152 stars 30 forks source link

How to visualize in linux? #18

Closed yan811 closed 2 years ago

yan811 commented 2 years ago

When I run "dataset_visuallization.py", the error is :

qt.qpa.xcb: could not connect to display xx.xxx.xxx.xxx:0.0 ( xx.xxx.xxx.xxx is my ip) qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/ma-user/anaconda3/envs/openmmlab/lib/python3.7/site-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, minimal, minimalegl, offscreen, vnc.

Aborted

How can I solve it?

laurentbristiel commented 2 years ago

Hello @yan811 Your error is not related to our code but rather to some Linux/Display/QA configuration. I see that some people solved this error by using export DISPLAY=:0.0, maybe you should try this.