Hi, I am using IMX93-EVK and implemented a sample live image capturing program using opencv .with the help of IMX-MIPI-HDMI, I connected to Monitor. while powering the board the monitor display "Wayland Terminal". and i the terminal i executed the sample program.but getting errors. I am posting my simple program and the error i am facing.
I am using the Latest Linux image:Linux 6.6.3_1.0.0
Program:
Error:
Traceback (most recent call last):
File "/home/root/ml-object-detection-examples-for-imx93-main/detectnet_v2/simple.py", line 22, in <module>
cv2.imshow('Live Camera', frame)
cv2.error: OpenCV(4.9.0) /io/opencv/modules/highgui/src/window.cpp:1272: 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'
Note: How to access GUI in imx93 board,and how to display the images.
Hello,
Yes, you might try the xwayland Distro. This error is present when you have a bad image or it has no installed completely OpenCV.
Regards
@Bio_TICFSL I wrote a simple opencv program when but giving error while executing cv2.imshow() and cv2.destroyAllWindows() methods only...
Where I need to find xwayland distro..is it like the latest BSP(i.e Linux6.6.3)
Hello,
Compile and Install the full-image on your board to get the opencv without errors.
Regards