<?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>i.MX Processors中的主题 IMX8MP MIPI-CSI Camera Frame Image display by QT Application</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI-Camera-Frame-Image-display-by-QT-Application/m-p/1513103#M194394</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hardware environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NXP i.MX 8M PLUS&lt;/LI&gt;&lt;LI&gt;Industrial camera （MIPI）&lt;/LI&gt;&lt;LI&gt;HDMI monitor&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The data flow is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QiangF_1-1661769143670.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191601i9BD96758D8E04E01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QiangF_1-1661769143670.png" alt="QiangF_1-1661769143670.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Software Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Kernel: Linux imx8mpevk 5.4.70&lt;/LI&gt;&lt;LI&gt;File system: ubuntu20.04 file system&lt;/LI&gt;&lt;LI&gt;Third-party software: Qt5.12.6, Opencv, SDL (Simple DirectMedia Layer, refer to &lt;A href="https://wiki.libsdl.org/" target="_blank"&gt;https://wiki.libsdl.org/&lt;/A&gt;) or OpenGL ES&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Functional Requirements:&lt;BR /&gt;The standard programming interface based on v4l2 obtains the data of each frame from the mipi camera, converts it into an Opencv mat image, and displays it in the QT window.&lt;/P&gt;&lt;P&gt;Current issues:&lt;BR /&gt;When calling the method SDL_CreateWindowFrom(win_id) of SDL to generate a window in QT, an error occurs and the camera screen cannot be displayed.&lt;/P&gt;&lt;P&gt;Target:&lt;BR /&gt;1. Solve the current SDL problem and display the camera screen in the QT window;&lt;BR /&gt;2. If the SDL method is not feasible, use other methods such as V4l2 + OpenGL ES to display the camera screen normally in the QT window.&lt;/P&gt;&lt;P&gt;If you have a good suggestion, please point it out&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 10:33:38 GMT</pubDate>
    <dc:creator>QiangF</dc:creator>
    <dc:date>2022-08-29T10:33:38Z</dc:date>
    <item>
      <title>IMX8MP MIPI-CSI Camera Frame Image display by QT Application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI-Camera-Frame-Image-display-by-QT-Application/m-p/1513103#M194394</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hardware environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NXP i.MX 8M PLUS&lt;/LI&gt;&lt;LI&gt;Industrial camera （MIPI）&lt;/LI&gt;&lt;LI&gt;HDMI monitor&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The data flow is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QiangF_1-1661769143670.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191601i9BD96758D8E04E01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QiangF_1-1661769143670.png" alt="QiangF_1-1661769143670.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Software Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Kernel: Linux imx8mpevk 5.4.70&lt;/LI&gt;&lt;LI&gt;File system: ubuntu20.04 file system&lt;/LI&gt;&lt;LI&gt;Third-party software: Qt5.12.6, Opencv, SDL (Simple DirectMedia Layer, refer to &lt;A href="https://wiki.libsdl.org/" target="_blank"&gt;https://wiki.libsdl.org/&lt;/A&gt;) or OpenGL ES&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Functional Requirements:&lt;BR /&gt;The standard programming interface based on v4l2 obtains the data of each frame from the mipi camera, converts it into an Opencv mat image, and displays it in the QT window.&lt;/P&gt;&lt;P&gt;Current issues:&lt;BR /&gt;When calling the method SDL_CreateWindowFrom(win_id) of SDL to generate a window in QT, an error occurs and the camera screen cannot be displayed.&lt;/P&gt;&lt;P&gt;Target:&lt;BR /&gt;1. Solve the current SDL problem and display the camera screen in the QT window;&lt;BR /&gt;2. If the SDL method is not feasible, use other methods such as V4l2 + OpenGL ES to display the camera screen normally in the QT window.&lt;/P&gt;&lt;P&gt;If you have a good suggestion, please point it out&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 10:33:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI-Camera-Frame-Image-display-by-QT-Application/m-p/1513103#M194394</guid>
      <dc:creator>QiangF</dc:creator>
      <dc:date>2022-08-29T10:33:38Z</dc:date>
    </item>
  </channel>
</rss>

