<?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 Hello Bryan, thanx for your in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016267#M36228</link>
    <description>&lt;P&gt;Hello Bryan, thanx for your comment, i changed it but no difference. &amp;nbsp;in consloe still showing: &amp;nbsp;&amp;nbsp;" Is Thumbs up : (false)" also when &amp;nbsp;place my hand in front of the camera "thumb up"&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2015 21:17:51 GMT</pubDate>
    <dc:creator>Fadi_H_</dc:creator>
    <dc:date>2015-10-12T21:17:51Z</dc:date>
    <item>
      <title>Hand Gesture not recognized...</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016265#M36226</link>
      <description>&lt;PRE style="color: rgb(0, 0, 0); line-height: normal;"&gt;Hello Guys, i am writing here for the 3rd time, i hope that someone will finally answer my question...
The following java code is working, the hands are recognized BUT the gestures arent!! did i forget anything in the code?
for any helpful hints i would be thankful! 

&lt;/PRE&gt;

&lt;PRE class="brush:java;"&gt;public class handgecogni  {
	
	public static void main(String s[]) {
	System.out.println("Starting hand tracker.");
	
	PXCMSenseManager senseManager =PXCMSenseManager.CreateInstance();
	senseManager.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR,640,480,30);
	senseManager.EnableHand(null);
	PXCMHandModule handModule = senseManager.QueryHand();
	senseManager.Init();
	PXCMHandData handData = handModule.CreateOutput();
	PXCMHandConfiguration handConfig = handModule.CreateActiveConfiguration();
	
	handConfig.DisableAllGestures();
	// i want to make only thumbs up recognized
	handConfig.EnableGesture("thumbs_up");
	handConfig.EnableAllAlerts();	
	handConfig.ApplyChanges();
	

	PXCMCaptureManager captureMgr = senseManager.QueryCaptureManager();
	captureMgr.FilterByDeviceInfo("RealSense",null, 0);
	pxcmStatus sts = senseManager.EnableHand(null);
	sts = senseManager.Init();				 
	handConfig.Update();
	
		if (sts.compareTo(pxcmStatus.PXCM_STATUS_NO_ERROR) &amp;gt;= 0) {
			senseManager.Init();
							
			for (int nframes = 0; nframes &amp;lt; 3000; nframes++) {
		//	System.out.println("Frame # " + );
			sts = senseManager.AcquireFrame(true);
			if (sts.compareTo(pxcmStatus.PXCM_STATUS_NO_ERROR) &amp;lt; 0)
			break;
	
				while (senseManager.AcquireFrame(true).isSuccessful()) {
					
				// Retrieve current hand tracking results
				handData = handModule.CreateOutput();
				handData.Update();
				PXCMHandData.GestureData gestureData = new PXCMHandData.GestureData();
				PXCMHandData.IHand hand = new PXCMHandData.IHand();
				sts = handData.QueryHandData(PXCMHandData.AccessOrderType.ACCESS_ORDER_NEAR_TO_FAR,0, hand);
				
				
				if (sts.compareTo(pxcmStatus.PXCM_STATUS_NO_ERROR) &amp;gt;= 0) {
					
					
					PXCMPointF32 image = hand.QueryMassCenterImage();
					PXCMPoint3DF32 world = hand.QueryMassCenterWorld();
					boolean result = handData.IsGestureFired("thumbs_up", gestureData);
					System.out.print("  Is Thumbs up : (" + result+ ")\n");
					System.out.print("   Image Position: (" + image.x + ","+ image.y + ")");
					System.out.println("   World Position: (" + world.x + ","+ world.y + "," + world.z + ")");
					
				}
				int ngestures = handData.QueryNumberOfHands();
				System.out.println("# of hands is "+ ngestures);
		
				senseManager.ReleaseFrame();
				}	
			}
		senseManager.close();
		
		}
	}
	
}
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:04:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016265#M36226</guid>
      <dc:creator>Fadi_H_</dc:creator>
      <dc:date>2015-10-12T21:04:49Z</dc:date>
    </item>
    <item>
      <title>Hello Fadi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016266#M36227</link>
      <description>&lt;P&gt;Hello Fadi,&lt;/P&gt;

&lt;P&gt;Have you tried "thumb_up" instead of "thumbs_up"? There might be a typo here.&lt;/P&gt;

&lt;P&gt;-Bryan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:11:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016266#M36227</guid>
      <dc:creator>Bryan_B_Intel1</dc:creator>
      <dc:date>2015-10-12T21:11:59Z</dc:date>
    </item>
    <item>
      <title>Hello Bryan, thanx for your</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016267#M36228</link>
      <description>&lt;P&gt;Hello Bryan, thanx for your comment, i changed it but no difference. &amp;nbsp;in consloe still showing: &amp;nbsp;&amp;nbsp;" Is Thumbs up : (false)" also when &amp;nbsp;place my hand in front of the camera "thumb up"&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:17:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016267#M36228</guid>
      <dc:creator>Fadi_H_</dc:creator>
      <dc:date>2015-10-12T21:17:51Z</dc:date>
    </item>
    <item>
      <title>Just to make sure, did you</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016268#M36229</link>
      <description>&lt;P&gt;Just to make sure, did you change it in both places?&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(248, 248, 248); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;handConfig.EnableGesture(&lt;/CODE&gt;&lt;CODE class="string" style="font-size: 13.008px; line-height: 14.3088px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; color: blue !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(248, 248, 248); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;"&lt;STRONG&gt;thumbs_up&lt;/STRONG&gt;"&lt;/CODE&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(248, 248, 248); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;);&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(248, 248, 248); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(248, 248, 248); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(248, 248, 248); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="keyword" style="font-size: 13.008px; line-height: 14.3088px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;boolean&lt;/CODE&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;result = handData.IsGestureFired(&lt;/CODE&gt;&lt;CODE class="string" style="font-size: 13.008px; line-height: 14.3088px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; color: blue !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;"&lt;STRONG&gt;thumbs_up&lt;/STRONG&gt;"&lt;/CODE&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;, gestureData);&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;-Bryan&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:22:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016268#M36229</guid>
      <dc:creator>Bryan_B_Intel1</dc:creator>
      <dc:date>2015-10-12T21:22:55Z</dc:date>
    </item>
    <item>
      <title>oops! i changed both now, it</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016269#M36230</link>
      <description>&lt;P&gt;oops! i changed both now, it seems to work!! thaanks a alot , but its working a weird way, it shows one time true and 10 times false.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;its not showing "true" one after the other.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;any way i have made this boolean, to check if the gesture recognition is working.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;the main purpose of my program is to enable "thumb_up" and "thumb_down" and "swipe"&lt;/P&gt;

&lt;P&gt;i will try to make some changes sothat it shows those up written gestures in the console.&lt;/P&gt;

&lt;P&gt;thank you again :)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:36:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016269#M36230</guid>
      <dc:creator>Fadi_H_</dc:creator>
      <dc:date>2015-10-12T21:36:29Z</dc:date>
    </item>
    <item>
      <title>Glad to hear it's moving</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016270#M36231</link>
      <description>&lt;P&gt;Glad to hear it's moving forward! You may want to refer to para. 4.5.6 on page 1220 in sdkmanuals.pdf (C:\Program Files (x86)\Intel\RSSDK\doc\PDF) for the naming conventions used for the other gestures (e.g., "swipe_left", etc.)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;-Bryan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:45:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016270#M36231</guid>
      <dc:creator>Bryan_B_Intel1</dc:creator>
      <dc:date>2015-10-12T21:45:29Z</dc:date>
    </item>
    <item>
      <title>now i got it, one last</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016271#M36232</link>
      <description>&lt;P&gt;now i got it, one last question, i wanted to show in the console the name of the gesture instead of true and false,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;i used this &amp;nbsp; &amp;nbsp;System.out.print("Gesture is \n" +gestureData.name);&lt;/P&gt;

&lt;P&gt;it didnt work and showed only "&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Gesture is&lt;/SPAN&gt;" repeatedly&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:56:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016271#M36232</guid>
      <dc:creator>Fadi_H_</dc:creator>
      <dc:date>2015-10-12T21:56:07Z</dc:date>
    </item>
    <item>
      <title>Dear Bryan, i found it! i</title>
      <link>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016272#M36233</link>
      <description>&lt;P&gt;Dear Bryan, i found it! i wrote this code and thumb up and down are working now,&lt;/P&gt;

&lt;PRE class="brush:java;"&gt;PXCMHandData.GestureData gestureData = new PXCMHandData.GestureData();
				if (handData.IsGestureFired("thumb_up", gestureData)) {
				System.out.println("thumb up!!");	
				}
				
				else if (handData.IsGestureFired("thumb_down", gestureData)) {
					System.out.println("thumb down!!");	
					}
				else if (handData.IsGestureFired("wave", gestureData)) {
					System.out.println("wave!!");	
					}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;for waving im going to use swipe_right and swipe_left because it didnt recognize it&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 22:26:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Hand-Gesture-not-recognized/m-p/1016272#M36233</guid>
      <dc:creator>Fadi_H_</dc:creator>
      <dc:date>2015-10-12T22:26:45Z</dc:date>
    </item>
  </channel>
</rss>

