<?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 OpenCV support for i.MX6 Capture Drivers in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733354#M114133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on a project with analog cameras, captured by ADV7280-M device. We have it working as a subdevice of mxc_v4l2_capture driver using GStreamer and using the TVin unit test app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, we are trying to work with OpenCV.&lt;/P&gt;&lt;P&gt;We are using Yocto Krogoth release (kernel 4.1.15) and we can run OpenCV code using a USB Camera, but the same code does not work when using cameras attached to ADV7280-M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the USB Camera performance is very poor, since it does not use the hardware accelerators from i.MX6 processor. We have done a research on this matter and found out that the mxc_v4l2_capture driver is not compatible with OpenCV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, we have found some people that could make it work (see &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fandreluizeng%2Fv4l_opencv_wrapper" rel="nofollow" target="_blank"&gt;https://github.com/andreluizeng/v4l_opencv_wrapper&lt;/A&gt;&lt;SPAN&gt;). We would like some suggestions on this matter. OpenCV is great, but without hardware acceleration, the application will not work as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2017 15:10:04 GMT</pubDate>
    <dc:creator>gruger</dc:creator>
    <dc:date>2017-11-23T15:10:04Z</dc:date>
    <item>
      <title>OpenCV support for i.MX6 Capture Drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733354#M114133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on a project with analog cameras, captured by ADV7280-M device. We have it working as a subdevice of mxc_v4l2_capture driver using GStreamer and using the TVin unit test app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, we are trying to work with OpenCV.&lt;/P&gt;&lt;P&gt;We are using Yocto Krogoth release (kernel 4.1.15) and we can run OpenCV code using a USB Camera, but the same code does not work when using cameras attached to ADV7280-M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the USB Camera performance is very poor, since it does not use the hardware accelerators from i.MX6 processor. We have done a research on this matter and found out that the mxc_v4l2_capture driver is not compatible with OpenCV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, we have found some people that could make it work (see &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fandreluizeng%2Fv4l_opencv_wrapper" rel="nofollow" target="_blank"&gt;https://github.com/andreluizeng/v4l_opencv_wrapper&lt;/A&gt;&lt;SPAN&gt;). We would like some suggestions on this matter. OpenCV is great, but without hardware acceleration, the application will not work as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:10:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733354#M114133</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2017-11-23T15:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCV support for i.MX6 Capture Drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733355#M114134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mauricio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this camera or MIPI you need to use or V4L or Gstreamer as suggested by the link you posted, the idea is to capture using our mxc_v4l_src plugin into a mapped G2D buffer, and then you use the cv::Mat just pointing to this G2D buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar sample using the ov10635 camera, which requires a different driver, I am going to check if that can work on your side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which imx6 board are you using ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 18:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733355#M114134</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2017-11-23T18:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCV support for i.MX6 Capture Drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733356#M114135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your interest in our problem. It is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to open the camera as a GStreamer pipeline within OpenCV, but I could not get the pipeline working on OpenCV (app crashes due to compatibility between imxv4l2videosrc and OpenCV's appsink).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are running a custom board, but if you can access a MIPI camera from OpenCV, then that is very likely to work on our case too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can your example be shared? Is it written in C++ or Python for OpenCV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 18:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733356#M114135</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2017-11-23T18:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCV support for i.MX6 Capture Drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733357#M114136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mauricio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is in C/C++, please find it attached, this application was used in this project:&amp;nbsp;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=gDeDB8iRC9Y&amp;amp;t=0s" title="https://www.youtube.com/watch?v=gDeDB8iRC9Y&amp;amp;t=0s"&gt;piano tiles - robot player test 5 - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V4L +&amp;nbsp; G2D + Opencv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 17:43:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733357#M114136</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2017-11-24T17:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCV support for i.MX6 Capture Drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733358#M114137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems very promissing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will study it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing (and the video is awesome!).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 18:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OpenCV-support-for-i-MX6-Capture-Drivers/m-p/733358#M114137</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2017-11-24T18:25:47Z</dc:date>
    </item>
  </channel>
</rss>

