<?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 Display images using opencv on imx8m mini in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Display-images-using-opencv-on-imx8m-mini/m-p/1466002#M190954</link>
    <description>&lt;P&gt;Dear Members,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please refer following information : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Board : 8MMINILPD4-EVK &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DISTRO_VERSION = "5.15-honister" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DISTRO = "fsl-imx-xwayland" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we have connected HDMI display to development board we need to display storage images to display.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we used open cv and python for same . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;or image display when cv2.imshow runs following error &lt;/SPAN&gt;&lt;SPAN&gt;occured &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;File "/home/ashish/test/show_image.py", line 7, in &amp;lt;module&amp;gt; cv2.imshow('image window', image) cv2.error: OpenCV(4.5.4) /usr/src/debug/opencv/4.5.4.imx-r0/git/modules/highgui/src/window_gtk.cpp:635: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;refer sample code for reference. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import cv2&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;image = cv2.imread('sample.png')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cv2.imshow('image window', image)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Refer local_conf.txt for build information.&lt;/P&gt;&lt;P&gt;Any solution on this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2022 06:45:59 GMT</pubDate>
    <dc:creator>ashish_m</dc:creator>
    <dc:date>2022-05-30T06:45:59Z</dc:date>
    <item>
      <title>Display images using opencv on imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Display-images-using-opencv-on-imx8m-mini/m-p/1466002#M190954</link>
      <description>&lt;P&gt;Dear Members,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please refer following information : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Board : 8MMINILPD4-EVK &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DISTRO_VERSION = "5.15-honister" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DISTRO = "fsl-imx-xwayland" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we have connected HDMI display to development board we need to display storage images to display.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we used open cv and python for same . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;or image display when cv2.imshow runs following error &lt;/SPAN&gt;&lt;SPAN&gt;occured &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;File "/home/ashish/test/show_image.py", line 7, in &amp;lt;module&amp;gt; cv2.imshow('image window', image) cv2.error: OpenCV(4.5.4) /usr/src/debug/opencv/4.5.4.imx-r0/git/modules/highgui/src/window_gtk.cpp:635: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;refer sample code for reference. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import cv2&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;image = cv2.imread('sample.png')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cv2.imshow('image window', image)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Refer local_conf.txt for build information.&lt;/P&gt;&lt;P&gt;Any solution on this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 06:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Display-images-using-opencv-on-imx8m-mini/m-p/1466002#M190954</guid>
      <dc:creator>ashish_m</dc:creator>
      <dc:date>2022-05-30T06:45:59Z</dc:date>
    </item>
  </channel>
</rss>

