Install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage

I have installed openvino and deployed blob into OAK-1 but when i am executing. I am getting below error.

I have tried everything that is available on internet, installed the packages as well but nothing works

OS: Ubuntu 20.04

Error


2024-01-16 17:51:29.889857: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-01-16 17:51:29.911350: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-01-16 17:51:29.911607: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-01-16 17:51:30.349034: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
[INFO] initializing a depthai camera pipeline...
[INFO] initializing pipeline...
[INFO] initializing traffic light signal classifier network...
[INFO] Creating Color Camera...
[INFO] Creating ImageManip node...
Traceback (most recent call last):
File "classify_camera.py", line 91, in <module>
cv2.imshow("rgb", frame)
cv2.error: OpenCV(4.5.3-openvino) ../opencv/modules/highgui/src/window.cpp:1239: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'

does the device have a display?