<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IMX 93 GUI in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1853560#M222920</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, you might try the xwayland Distro. This error is present when you have a bad image or it has no installed completely OpenCV.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 15:29:20 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2024-04-24T15:29:20Z</dc:date>
    <item>
      <title>IMX 93 GUI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1852419#M222853</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I am using the Latest Linux image:&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Linux 6.6.3_1.0.0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; cv2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Create a VideoCapture object&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;cap &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; cv2.VideoCapture(&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Check if the camera opened successfully&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; cap.isOpened():&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Error: Could not open camera."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;exit&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Loop to continuously capture frames from the camera&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;while&lt;/SPAN&gt; &lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Capture frame-by-frame&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ret, frame &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; cap.read()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Check if frame is successfully captured&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; ret:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Error: Failed to capture frame."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;break&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Display the captured frame&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;cv2.imshow(&lt;/SPAN&gt;&lt;SPAN&gt;'Live Camera'&lt;/SPAN&gt;&lt;SPAN&gt;, frame)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Check for the 'q' key press to exit the loop&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; cv2.waitKey(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;0x&lt;/SPAN&gt;&lt;SPAN&gt;FF&lt;/SPAN&gt; &lt;SPAN&gt;==&lt;/SPAN&gt; &lt;SPAN&gt;ord&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'q'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;break&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Release the VideoCapture object and close all OpenCV windows&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;cap.release()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;cv2.destroyAllWindows()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/root/ml-object-detection-examples-for-imx93-main/detectnet_v2/simple.py", line 22, in &amp;lt;module&amp;gt;&lt;BR /&gt;cv2.imshow('Live Camera', frame)&lt;BR /&gt;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'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: How to access GUI in imx93 board,and how to display the images.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 10:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1852419#M222853</guid>
      <dc:creator>Mohan51</dc:creator>
      <dc:date>2024-04-23T10:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: IMX 93 GUI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1853560#M222920</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, you might try the xwayland Distro. This error is present when you have a bad image or it has no installed completely OpenCV.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 15:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1853560#M222920</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-04-24T15:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: IMX 93 GUI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1853618#M222925</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp;I wrote a simple opencv program when but giving error while executing cv2.imshow() and cv2.destroyAllWindows() methods only...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I need to find xwayland distro..is it like the latest BSP(i.e Linux6.6.3)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 17:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1853618#M222925</guid>
      <dc:creator>Mohan51</dc:creator>
      <dc:date>2024-04-24T17:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX 93 GUI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1853653#M222930</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Compile and Install the full-image on your board to get the opencv without errors.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 18:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-93-GUI/m-p/1853653#M222930</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-04-24T18:06:23Z</dc:date>
    </item>
  </channel>
</rss>

