luxonis / depthai-experiments

Experimental projects we've done with DepthAI.
MIT License
845 stars 370 forks source link

[gen2-yolo/device-decoding] Visualization doesn't show camera footage or detections #493

Closed stwerner97 closed 1 year ago

stwerner97 commented 1 year ago

Hi, I've tried the gen2-yolo/device-decoding demo but couldn't get the demo to work properly. Running python main.py --config model/yolov6ntrained.json opens a window that show neither the camera's images nor the detections of the yolov6 model.

The NN Results window simply shows the contents of the terminal in the background.

image

I have an OAK-D CM4 PoE and have followed the steps outlined in this depthai-colab to compile the .blob and .json that are placed in the model folder. I am using depthai==2.22.0.0 and depthai-sdk==1.12.1.

Erol444 commented 1 year ago

Hi @stwerner97 , Which host computer are you using? Perhaps you could try using a different one? My guess is that X11 forwarding doesn't work as expected in your case.

stwerner97 commented 1 year ago

Hi @Erol444, thanks for the response! 😊

I am using a windows based machine. The X11 forwarding worked for me in another application (i.e., the depthai demo) - is there any difference between both applications in terms of the forwarding?

At the moment, I cannot check with a different machine, unfortunately.