So far, we've learned how to train with given key points to generate human poses. The process for gesture recognition is similar. Follow these steps to perform hand gesture recognition for hand movement:
- Collect images of different hand positions – up, down, left, and right.
- Resize the images.
- At this point, you can either label the images with key points. If you label the images for key point joints, then each image has to be represented with the corresponding key point joints.
- Load the image and its corresponding labels into two different arrays.
- The next step is to perform image classification, similar to what we did in Chapter 6, Visual Search Using Transfer Learning.
- The CNN model can be ...