<?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: i.MX8MM camera orientation in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-camera-orientation/m-p/985074#M146327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Could you please ref&amp;nbsp; is&amp;nbsp;cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/CameraOrientationActivity.java&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;And notice below code:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;// set preview orientation&lt;BR /&gt;&amp;nbsp;int degrees = mPreviewOrientations.get(mNextPreviewOrientation);&lt;BR /&gt;&amp;nbsp;mCamera.setDisplayOrientation(degrees);&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Could you please try modifying those functions and see if that can modify the camera orientation.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2020 18:27:13 GMT</pubDate>
    <dc:creator>diegoadrian</dc:creator>
    <dc:date>2020-01-28T18:27:13Z</dc:date>
    <item>
      <title>i.MX8MM camera orientation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-camera-orientation/m-p/985073#M146326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently trying to implement camera OV5645 on i.MX8MM running Android 9.0.0 2.3.0.&lt;/P&gt;&lt;P&gt;The current state is, that we are able to see a preview and take pictures with the default camera application which is coming with mentioned NXP BSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, preview and snapshot are rotated counterclockwise about 90° degrees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'v already tried to modify properties in init.rc without any results.&lt;/P&gt;&lt;P&gt;- setprop back_camera_orient 0&lt;BR /&gt;- setprop front_camera_orient 0&lt;/P&gt;&lt;P&gt;Preview and Snapshot still keeps rotated without any changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestions where to modify rotation/orientation of the mounted camera device, to get preview and snapshot into the right direction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 09:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-camera-orientation/m-p/985073#M146326</guid>
      <dc:creator>danielenderle</dc:creator>
      <dc:date>2020-01-22T09:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MM camera orientation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-camera-orientation/m-p/985074#M146327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Could you please ref&amp;nbsp; is&amp;nbsp;cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/CameraOrientationActivity.java&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;And notice below code:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;// set preview orientation&lt;BR /&gt;&amp;nbsp;int degrees = mPreviewOrientations.get(mNextPreviewOrientation);&lt;BR /&gt;&amp;nbsp;mCamera.setDisplayOrientation(degrees);&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Could you please try modifying those functions and see if that can modify the camera orientation.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 18:27:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-camera-orientation/m-p/985074#M146327</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2020-01-28T18:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MM camera orientation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-camera-orientation/m-p/985075#M146328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply, but this part of code never gets touched when using packages/apps/Camera2, wich gets delivered with BSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or did you mean i should try to run a cts test to verify the orientation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 07:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-camera-orientation/m-p/985075#M146328</guid>
      <dc:creator>danielenderle</dc:creator>
      <dc:date>2020-01-29T07:30:34Z</dc:date>
    </item>
  </channel>
</rss>

