<?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 I believe the latest JS in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051767#M50293</link>
    <description>&lt;P&gt;I believe the latest JS release supports the namespace necessary to change the mirror setting. Can anyone provide a code sample of mirroring the camera in JS?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2015 22:44:42 GMT</pubDate>
    <dc:creator>Anthony_A_</dc:creator>
    <dc:date>2015-07-20T22:44:42Z</dc:date>
    <item>
      <title>Hand is going to different direction [JavaScript]</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051762#M50288</link>
      <description>&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;U&gt;Hand is going to different direction&lt;/U&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;Tested on the example &amp;nbsp;(SDK version &amp;nbsp;3.0.1).&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;from &amp;nbsp;&amp;nbsp;&amp;nbsp;(RSSDK_DIR)/framework/JavaScript/hands_viewer.html)&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="line-height: 19.5120010375977px; font-size: 1em;"&gt;I am facing some issues when using this hands_viewer:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;when I move my hand to left the hand image on the screen is going to the right&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;it looks like a Mirror behavior&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;the attach file contain the screen capture.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;you can see that the hand image is on right side of the screen while I move my hand to the left side.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 01:26:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051762#M50288</guid>
      <dc:creator>Yuval_Ben_Zvi</dc:creator>
      <dc:date>2015-01-15T01:26:39Z</dc:date>
    </item>
    <item>
      <title>Yes, this is happened to me</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051763#M50289</link>
      <description>&lt;P&gt;Yes, this is happened to me too. I've found a workaround[1] for this, is pretty easy, just need to make the X position negative.&lt;BR /&gt;
	Something like:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;posX = -1*point.image.x+canvas.width;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;[1] &lt;A href="https://software.intel.com/en-us/blogs/2014/12/08/realsense-your-face-as-a-controller-using-javascript" target="_blank"&gt;https://software.intel.com/en-us/blogs/2014/12/08/realsense-your-face-as-a-controller-using-javascript&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Daniele.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:43:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051763#M50289</guid>
      <dc:creator>DMaio</dc:creator>
      <dc:date>2015-01-15T10:43:12Z</dc:date>
    </item>
    <item>
      <title>You can also try changing the</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051764#M50290</link>
      <description>&lt;P&gt;You can also try changing the MirrorMode setting on your device. &amp;nbsp;The below snippet will toggle the mirror function on your device, which is applied before any hand position or any other algorithms are applied. &amp;nbsp;Good luck!&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;PXCCapture::Device::MirrorMode mode = senseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;QueryMirrorMode();
if(mode == PXCCapture::Device::MirrorMode::MIRROR_MODE_DISABLED) {
	senseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetMirrorMode(PXCCapture::Device::MirrorMode::MIRROR_MODE_HORIZONTAL);
} else {
	senseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetMirrorMode(PXCCapture::Device::MirrorMode::MIRROR_MODE_DISABLED);
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 20:34:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051764#M50290</guid>
      <dc:creator>Jonathan_M_Intel</dc:creator>
      <dc:date>2015-01-15T20:34:01Z</dc:date>
    </item>
    <item>
      <title>Quote:Jonathan T. (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051765#M50291</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Jonathan T. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;You can also try changing the MirrorMode setting on your device. &amp;nbsp;The below snippet will toggle the mirror function on your device, which is applied before any hand position or any other algorithms are applied. &amp;nbsp;Good luck!&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;PXCCapture::Device::MirrorMode mode = senseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;QueryMirrorMode();
if(mode == PXCCapture::Device::MirrorMode::MIRROR_MODE_DISABLED) {
	senseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetMirrorMode(PXCCapture::Device::MirrorMode::MIRROR_MODE_HORIZONTAL);
} else {
	senseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetMirrorMode(PXCCapture::Device::MirrorMode::MIRROR_MODE_DISABLED);
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes, but he's talking about JavaScript. There is any way to do it in JavaScript? As far as I see from the docs the setMirrorMode is not yet supported in JavaScript, am I wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 11:20:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051765#M50291</guid>
      <dc:creator>DMaio</dc:creator>
      <dc:date>2015-01-16T11:20:07Z</dc:date>
    </item>
    <item>
      <title>Thanks everyone</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051766#M50292</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thanks everyone&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I use the Daniele&amp;nbsp;workaround&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;yuval&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:09:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051766#M50292</guid>
      <dc:creator>Yuval_Ben_Zvi</dc:creator>
      <dc:date>2015-01-16T14:09:59Z</dc:date>
    </item>
    <item>
      <title>I believe the latest JS</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051767#M50293</link>
      <description>&lt;P&gt;I believe the latest JS release supports the namespace necessary to change the mirror setting. Can anyone provide a code sample of mirroring the camera in JS?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 22:44:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051767#M50293</guid>
      <dc:creator>Anthony_A_</dc:creator>
      <dc:date>2015-07-20T22:44:42Z</dc:date>
    </item>
    <item>
      <title>I believe the latest JS</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051768#M50294</link>
      <description>&lt;P&gt;I believe the latest JS release supports the namespace necessary to change the mirror setting. Can anyone provide a code sample of mirroring the camera in JS?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 22:44:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-is-going-to-different-direction-JavaScript/m-p/1051768#M50294</guid>
      <dc:creator>Anthony_A_</dc:creator>
      <dc:date>2015-07-20T22:44:43Z</dc:date>
    </item>
  </channel>
</rss>

