This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: (Python) Camera not staying on due to "Gdk-CRITICAL" error

Part Number: SK-TDA4VM

Hello,

We are developing (Python) and running a pose estimation model on the SK-TDA4VM (we are using the latest 8.4 version of the SDK). We are able to get the camera that is plugged into the EVM kit to turn on for 1 second before we get this error (also included in image below): "Gdk-CRITICAL **: 01:37:16.035: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed"

Our code is using cv2 library, and while researching this errors, some sources have indicated discrepancies between dependencies could be an issue causing this error.We have installed/tried opencv-python, opencv-python-headless, and opencv-contrib-python on the kit and none have had any positive impact on resolving this error.

Our end goal for overcoming this particular problem is to have the camera stay on for more than one second before getting this error message. Could you please advise or point us in the direction of open source python code that has been successfully used in the EVM processor to activate the camera correctly?