Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NucleoMGC3130 i2c_master
GestureInfo Class Reference
Recognized Gestures: The recognized gestures are results of the HMM classification. More...
#include <GestureInfo.h>
Public Member Functions | |
void | set (unsigned char *value) |
Set the internal memory, used by API itself. | |
int | getRecognizedGesture () |
Get the recognized gesture information. | |
int | getGestureClass () |
Get the recognized gesture class. | |
bool | isEdgeFlick () |
Check if the recognized gesture is classified as edge flick. | |
bool | isHandPresence () |
Check if the user’s hand is within the sensing space. | |
bool | isHandHold () |
Check if the hand is not moving. | |
bool | isHandInside () |
Check if the user’s hand is approximately above the sensor. | |
bool | isRecognitionInProcess () |
Check if the gesture recognition in progress. |
Detailed Description
Recognized Gestures: The recognized gestures are results of the HMM classification.
Edge detection can be used to further classify where the gesture has been done (Edge Flicks). Furthermore, gesture attributes give information about the direction of the flick.
Definition at line 10 of file GestureInfo.h.
Member Function Documentation
int getGestureClass | ( | ) |
Get the recognized gesture class.
- Returns:
- 0 Garbage Model 1 Flick Gesture 2 Circula Gesture
Definition at line 13 of file GestureInfo.cpp.
int getRecognizedGesture | ( | ) |
Get the recognized gesture information.
- Returns:
- 0 No Gesture 1 Garbage Model 2 Flick West To East 3 Flick East To West 4 Flick South To North, 5 Flick North To South 6 Circle Clockwise, only active if AirWheel disabled 7 Circle Counterclockwise, only active if AirWheel disabled 8 WaveX 9 WaveY 64 Hold 73 Presence 65 Edge Flick West To East 66 Edge Flick East To West 67 Edge Flick South To North 68 Edge Flick North To South 69 Double Flick West To East 70 Double Flick East To West 71 Double Flick South To North 72 Double Flick North To South
Definition at line 8 of file GestureInfo.cpp.
bool isEdgeFlick | ( | ) |
Check if the recognized gesture is classified as edge flick.
- Returns:
- true qualified false not qualified
Definition at line 18 of file GestureInfo.cpp.
bool isHandHold | ( | ) |
Check if the hand is not moving.
Further dependencies can be adjusted inside Aurea Parametrization.
- Returns:
- true qualified false not qualified
Definition at line 28 of file GestureInfo.cpp.
bool isHandInside | ( | ) |
Check if the user’s hand is approximately above the sensor.
- Returns:
- true qualified false not qualified
Definition at line 33 of file GestureInfo.cpp.
bool isHandPresence | ( | ) |
Check if the user’s hand is within the sensing space.
- Returns:
- true qualified false not qualified
Definition at line 23 of file GestureInfo.cpp.
bool isRecognitionInProcess | ( | ) |
Check if the gesture recognition in progress.
This bit is set when the Gesture Recognizer is active and Reset when the gesture is recognized and the Recognizer is Off.
- Returns:
- true qualified false not qualified
Definition at line 38 of file GestureInfo.cpp.
void set | ( | unsigned char * | value ) |
Set the internal memory, used by API itself.
- Parameters:
-
value 4 bytes char array
Definition at line 3 of file GestureInfo.cpp.
Generated on Fri Jul 15 2022 02:54:57 by
