Software Archive
Read-only legacy content
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 토론

Hands Viewer recognize all gestures

Scott_W_1
초급자
813 조회수

According to the documentation, we should be able to have the Hands Viewer recognize all gestures by leaving the gesture selection field blank.

I've tried that, but nothing appears in the alert field. Am I doing something wrong?

0 포인트
4 응답
Pubudu-Silva_Intel
813 조회수

Are you referring to the manual? Have you enabled gestures? Could you please share the relevant code snippet

0 포인트
Colleen_C_Intel
813 조회수

You saw this info in the tutorial docs?  I believe it's a typo because the sdksamples.pdf that is in the docs/pdf folder of the installed RSSDK says "Select an item in the Gesture list to recognize the specified gesture. If left empty, the sample does NOT recognize any gesture. 

0 포인트
Scott_W_1
초급자
813 조회수

There are two different samples:

The one that comes with the tutorial, and the one that comes with the sample browser.

I was using the one that comes with the sample browser. I tried "EnableAllGestures()", but it had no effect, though honestly I am just learning to compile with VisualStudio - so I'll look into it more.

If you are right, then it is a typo. From the sample browser documentation, here's the exact wording:

"Select an item in the Gesture list to recognize only the specified gesture, or leave it empty to recognize all gestures."

After posting my message, I found the tutorial example. It does recognize several of the gestures. It suits my purposes pretty well - to recognize American Sign Language (ASL) fingerspelling. Now I'm working on increasing the accuracy - It mistakes the fist gesture for a full pinch (repurposed as "flat_o" for ASL).

My guess - the iteration through the gestures does not give the BEST match, but the first or the last match. I'll work the code and see what I can figure out.

0 포인트
Scott_W_1
초급자
813 조회수

It appears that EnableAllGestures() took care of it. I recompiled in VisualStudio. It works perfectly now.

0 포인트
응답