Docsity

Gesture Recognition: Challenges and Approaches in Markerless Visual Hand Tracking, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
1 Problem Description
Gestures are an integral part of human-human communication, and automated
gesture recognition systems will go a long way to improving human-computer
interactions. Vision-based gesture interfaces are useful in virtual-reality and
clean-room environments, where carrying an input device can be cumbersome
or dangerous. Also, advances in gesture recognition may translate into better
whole-body tracking and eventually lead to automated sign-language recogni-
tion.
However, the human hand is a versatile instrument, and it can take on a wide
variety of shapes. Unlike faces, which change shape by deforming smoothly, the
joints on the fingers produce articulated motion that is difficult to characterize.
Also, the fingers are relatively textureless and prone to self-occlusion, which
means that a single view is often too ambiguous to identify the hand pose. Fi-
nally, driven by relatively large muscle in the forearm, fingers are capable of
incredibly fast motion, posing an additional challenge for interactive applica-
tions.
2 Approach
Markerless visual hand tracking begin with camera images. As mentioned above,
multiple cameras will be needed to provide a robust solution. These images are
processed to remove the background and identify skin regions. Then, these im-
ages are compared to images of known hand poses to find the best match. One
approach searches for candidates in a labeled database. However, the database
involved can be quite large and scales poorly as the number of poses, view-
points, and hand shapes increase. Collecting and labeling a large set of real
hand images is impractical, which means that most existing systems resort to
using computer-synthesized images. An alternate approach is to simply syn-
thesize candidate images on the fly from a 3D model. This has the advantage
of increased flexibility in the hand model. Dynamically generating the images
also allow for other optimizations, such as different image sizes for a coarse-to-
fine search. However, because the synthesis must be done on-line in real-time,
the computational burden is greater. For robust tracking, tens of thousands of
candidates must be examined per second.
3 Parallelization
Fortunately, the gesture recognition task is easily parallelizable. At the coarse
level, each camera view may have its own compute node, and fusing these re-
sults would require relatively little bandwidth. Evaluating each camera image
involves comparing it with many candidate images, and these comparisons may
be done in parallel. Finally, the different pixels of the image-based operations
may often be processed in parallel.
1
pf2

Partial preview of the text

Download Gesture Recognition: Challenges and Approaches in Markerless Visual Hand Tracking and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

1 Problem Description

Gestures are an integral part of human-human communication, and automated gesture recognition systems will go a long way to improving human-computer interactions. Vision-based gesture interfaces are useful in virtual-reality and clean-room environments, where carrying an input device can be cumbersome or dangerous. Also, advances in gesture recognition may translate into better whole-body tracking and eventually lead to automated sign-language recogni- tion. However, the human hand is a versatile instrument, and it can take on a wide variety of shapes. Unlike faces, which change shape by deforming smoothly, the joints on the fingers produce articulated motion that is difficult to characterize. Also, the fingers are relatively textureless and prone to self-occlusion, which means that a single view is often too ambiguous to identify the hand pose. Fi- nally, driven by relatively large muscle in the forearm, fingers are capable of incredibly fast motion, posing an additional challenge for interactive applica- tions.

2 Approach

Markerless visual hand tracking begin with camera images. As mentioned above, multiple cameras will be needed to provide a robust solution. These images are processed to remove the background and identify skin regions. Then, these im- ages are compared to images of known hand poses to find the best match. One approach searches for candidates in a labeled database. However, the database involved can be quite large and scales poorly as the number of poses, view- points, and hand shapes increase. Collecting and labeling a large set of real hand images is impractical, which means that most existing systems resort to using computer-synthesized images. An alternate approach is to simply syn- thesize candidate images on the fly from a 3D model. This has the advantage of increased flexibility in the hand model. Dynamically generating the images also allow for other optimizations, such as different image sizes for a coarse-to- fine search. However, because the synthesis must be done on-line in real-time, the computational burden is greater. For robust tracking, tens of thousands of candidates must be examined per second.

3 Parallelization

Fortunately, the gesture recognition task is easily parallelizable. At the coarse level, each camera view may have its own compute node, and fusing these re- sults would require relatively little bandwidth. Evaluating each camera image involves comparing it with many candidate images, and these comparisons may be done in parallel. Finally, the different pixels of the image-based operations may often be processed in parallel.

Graphics processing units (GPUs), in particular, are well suited for this task. A modern GPU can synthesize a hand image almost as fast as reading it from memory; it’s is certainly faster than reading from a disk. Transferring that image from the GPU to the CPU incurs overhead that makes the prospect less tempting. However, as GPUs become more programmable, it is possible to offload more of the processing, reducing the need to access data from the CPU.

4 Technical Notes

The following, while not a part of a proposal, consists of some thoughts that I had on using the G80 to accelerate hand tracking. My current version of the program uses GLSL and floating-point textures. (I wouldn’t need the floating point except that I need to compute the sum of the pixels in an image — I certainly don’t need double precision.) Currently, I do the summing on the GPU, but still need to read back to the CPU to fuse the final result. I also do the mesh generation on the CPU, which appears to be a bottleneck. If we could use CUDA (or a bunch of PBOs and fragment shaders) to do that analysis on the GPU, then we can save on PCIe transfer overhead. The hand model to be rendered is fairly simple, which means that the process is often pixel-bound. (It may be useful to perform more per-pixel analysis, but I don’t have the test platform to try this with any speed.) The images we are working with is almost small enough to fit in the shared memory of a G80, but it’s not really feasible to rasterize to shared memory. Also, since the final result of the rendering operation is to simply sum all the pixels in the image, it would be nice if we had a programmable ROP stage to save the effort of writing out the pixels and reading them back again.