background Wearable sensors are devices that can be worn on various parts of the body to collect physiological data. This data can be used in wide variety of applications such as health monitoring (e.g. monitoring a person’s heart rate) to gesture recognition (e.g. identifying a pointing motion). These wearable sensors gather information from the user and provide output that is sorted into different categories. In the case of gesture recognition, the categories are the gestures that a person can perform. It is important for the wearable sensors to correctly identify these gestures so the wearer can perform their desired action (ex. maintaining a pinch on an item instead of dropping it). A model can be built using a number of worn sensors that describes gestures made by the user, but the model must be trained. Question For this problem, you will manipulate sensor data for wearable sensors on a person’s hand. Assume that that you have an incoming 1d array called sensorArray containing seven sensor values collected in real time from a user. You have also been given 5 2d arrays in a list called gestureList. Each of the 2d arrays contains the maximum and minimum sensor values values which match a trained gesture. Assume the 2d arrays are the same length as the 1d array and that the order of the finger readings is the same between each. It is possible for a user to make motions that do not correspond to any existing trained gesture model. An incoming 1d sensorArray should be identified as a gesture only if all of the sensor values fall within the accepted range of values corresponding to an existing 2d gesture array. Otherwise, assume that it does not match an existing gesture. How would you accomplish the following? Determine if the incoming 1d array contains values that match a given gesture Code must state if the gesture is a match for a trained gesture or if it’s a new gesture
background
Wearable sensors are devices that can be worn on various parts of the body to collect physiological
data. This data can be used in wide variety of applications such as health monitoring (e.g. monitoring a
person’s heart rate) to gesture recognition (e.g. identifying a pointing motion). These wearable sensors
gather information from the user and provide output that is sorted into different categories. In the case
of gesture recognition, the categories are the gestures that a person can perform. It is important for the
wearable sensors to correctly identify these gestures so the wearer can perform their desired action (ex.
maintaining a pinch on an item instead of dropping it). A model can be built using a number of worn
sensors that describes gestures made by the user, but the model must be trained.
Question
For this problem, you will manipulate sensor data for wearable sensors on a person’s hand. Assume that
that you have an incoming 1d array called sensorArray containing seven sensor values collected in real
time from a user. You have also been given 5 2d arrays in a list called gestureList. Each of the 2d arrays
contains the maximum and minimum sensor values values which match a trained gesture. Assume the
2d arrays are the same length as the 1d array and that the order of the finger readings is the same
between each. It is possible for a user to make motions that do not correspond to any existing trained
gesture model. An incoming 1d sensorArray should be identified as a gesture only if all of the sensor
values fall within the accepted range of values corresponding to an existing 2d gesture array. Otherwise,
assume that it does not match an existing gesture. How would you accomplish the following?
- Determine if the incoming 1d array contains values that match a given gesture
- Code must state if the gesture is a match for a trained gesture or if it’s a new gesture
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images