Magnitude determination for system commands in a gesture recognition system
An electronic device includes a transceiver configured to transmit and receive radar signals. The electronic device further comprises a processor operatively coupled to the transceiver. The processor is configured to adjust a field of view (FoV) associated with the transceiver based on a plurality of radar frames corresponding to the radar signals, extract a plurality of feature vectors from the plurality of radar frames based on the adjusted FoV. The processor is further configured to identify an activity based on the plurality of feature vectors, perform a gesture magnitude operation, and perform an action based on the gesture and a result of the gesture magnitude operation.
1 . An electronic device comprising:
a transceiver configured to transmit and receive radar signals; and
a processor operatively coupled to the transceiver, the processor configured to:
adjust a radius of an operational field of view (FoV) of the electronic device to be contained within a system FoV associated with the transceiver based on a plurality of radar frames corresponding to the radar signals;
extract a plurality of feature vectors from the plurality of radar frames based on the adjusted operational FoV;
identify an activity based on the plurality of feature vectors;
identify a gesture that corresponds with the activity;
perform a gesture magnitude operation; and
perform an action based on the gesture and a result of the gesture magnitude operation,
wherein the operational FoV is a virtual circular boundary having a radius proportional to a target distance from the transceiver.
2 . The electronic device of claim 1 , wherein the gesture magnitude operation comprises at least one of:
a magnitude detection operation; and
a magnitude adjustment operation.
3 . The electronic device of claim 2 , wherein to perform the magnitude detection operation, the processor is further configured to:
determine a maximum displacement of a target in at least one of an azimuth direction or an elevation direction;
determine a maximum velocity of the target; and
determine a magnitude of the gesture based on the maximum displacement and the maximum velocity of the target.
4 . The electronic device of claim 2 , wherein to perform the magnitude adjustment operation, the processor is further configured to:
determine whether the gesture is associated with a set of consecutive gestures;
if gesture is associated with a set of consecutive gestures, adjust a magnitude of a maximum system function;
if the gesture is not associated with a set of consecutive gestures, reset the magnitude of the maximum system function; and
determine a magnitude of the gesture,
wherein the action is performed based on the magnitude of the gesture and the magnitude of the maximum system function.
5 . The electronic device of claim 4 , wherein to determine whether the gesture is associated with a set of consecutive gestures, the processor is further configured to:
determine a time difference between the gesture and a previous gesture;
determine if the time difference exceeds a threshold; and
if the time difference does not exceed the threshold, determine that the gesture is associated with the set of consecutive gestures.
6 . The electronic device of claim 1 , wherein:
the electronic device further comprises an output device operatively coupled to the processor; and
to adjust the operational FOV associated with the transceiver, the processor is further configured to:
cause the output device to prompt a user of the electronic device to move a target to a boresight location of the transceiver.
7 . The electronic device of claim 6 , wherein prompting the user to move the target to a boresight location comprises at least one of:
indicating for the user to move the target in a backward direction;
indicating for the user to move the target in a forward direction; and
indicating for the user to move the target in a particular angular direction.
8 . The electronic device of claim 1 , wherein to adjust the operational FoV associated with the transceiver, the processor is further configured to:
determine a current start position of the gesture; and
adjust an operational FoV boundary based on a distance of a target from the transceiver and the current start position.
9 . The electronic device of claim 8 , wherein to determine the current start position, the processor is further configured to:
determine whether an existing start position is stale;
if the existing start position is stale, set a current location of the target as the current start position; and
if the existing start position is not stale, determine whether a distance between the existing start position and the current location of the target is less than a predefined threshold, wherein:
if the distance between the existing start position and the current location of the target is not less than the predefined threshold, the current location of the target is set as the current start position; and
if the distance between the existing start position and the current location of the target is less than the predefined threshold, the existing start position is set as the current start position.
10 . The electronic device of claim 1 , wherein:
the operational FoV comprises a virtual circular boundary within a boundary of the system FoV;
to adjust the operational FoV, the processor is further configured to adjust a radius of the virtual circular boundary; and
the radius of the virtual circular boundary is proportional to a maximum magnitude of a command triggered by a gesture.
11 . A method of operating an electronic device, the method comprising:
transmitting and receiving radar signals;
adjusting an operational field of view (FoV) of the electronic device to be contained within a system FoV associated with a transceiver comprised by the electronic device based on a plurality of radar frames corresponding to the radar signals;
extracting a plurality of feature vectors from the plurality of radar frames based on the adjusted operational FoV;
identifying an activity based on the plurality of feature vectors;
identifying a gesture that corresponds with the activity;
performing a gesture magnitude operation; and
performing an action based on the gesture and a result of the gesture magnitude operation,
wherein the operational FoV is a virtual circular boundary having a radius proportional to a target distance from the transceiver.
12 . The method claim 11 , wherein performing the gesture magnitude operation comprises at least one of:
performing a magnitude detection operation; and
performing a magnitude adjustment operation.
13 . The method of claim 12 , performing the magnitude detection operation comprises:
determining a maximum displacement of a target in at least one of an azimuth direction or an elevation direction;
determining a maximum velocity of the target; and
determining a magnitude of the gesture based on the maximum displacement and the maximum velocity of the target.
14 . The method of claim 12 , wherein performing the magnitude adjustment operation comprises:
determining whether the gesture is associated with a set of consecutive gestures;
if gesture is associated with a set of consecutive gestures, adjusting a magnitude of a maximum system function;
if the gesture is not associated with a set of consecutive gestures, resetting the magnitude of the maximum system function; and
determining a magnitude of the gesture,
wherein the action is performed based on the magnitude of the gesture and the magnitude of the maximum system function.
15 . The method of claim 14 , determining whether the gesture is associated with a set of consecutive gestures comprises:
determining a time difference between the gesture and a previous gesture;
determining if the time difference exceeds a threshold; and
if the time difference does not exceed the threshold, determining that the gesture is associated with the set of consecutive gestures.
16 . The method of claim 11 , wherein adjusting the operational FoV associated with the transceiver comprises prompting a user of the electronic device to move a target to a boresight location of the transceiver.
17 . The method of claim 16 , wherein prompting the user to move the target to a boresight location comprises at least one of:
indicating for the user to move the target in a backward direction;
indicating for the user to move the target in a forward direction; and
indicating for the user to move the target in a particular angular direction.
18 . The method of claim 11 , wherein adjusting the operational FoV associated with the transceiver comprises:
determining a current start position of the gesture; and
adjusting an operational FoV boundary based on a distance of a target from the transceiver and the current start position.
19 . The method of claim 18 , wherein determining the current start position comprises:
determining whether an existing start position is stale;
if the existing start position is stale, setting a current location of the target as the current start position; and
if the existing start position is not stale, determining whether a distance between the existing start position and the current location of the target is less than a predefined threshold, wherein:
if the distance between the existing start position and the current location of the target is not less than the predefined threshold, the current location of the target is set as the current start position; and
if the distance between the existing start position and the current location of the target is less than the predefined threshold, the existing start position is set as the current start position.
20 . The method of claim 11 , wherein the gesture is one of:
a swipe center-right-center (CRC);
a swipe center-left-center (CLC);
a swipe center-up-center (CUC); and
a swipe center-down-center (CDC).