Multi-device interaction gesture control method and system
Collecting finger movement data through acceleration sensors and gyroscopes and using deep learning models for recognition solves the problems of complex hardware and high cost of existing gesture recognition equipment, enabling convenient, low-cost multi-device interactive gesture control, and providing natural input method.
Patent Information
- Application Number
- CN202410775308.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-24
AI Technical Summary
Existing gesture recognition devices are based on cameras and have problems such as complex hardware, high cost, and limited use. It is difficult to provide a convenient and low-cost multi-device interactive gesture control method.
A ring equipped with an acceleration sensor and a gyroscope collects finger movement data, and performs preprocessing and identification through a deep learning model to control external devices.
It realizes convenient and low-cost multi-device interactive gesture control, provides a natural and ergonomic input method, reduces hardware complexity and cost, and improves convenience of use.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention relates to the field of human-computer interaction technology, and in particular to a multi-device interactive gesture control method and system. Background Art
[0002] As smart devices become more prevalent, users are increasingly demanding more intuitive and ergonomic input devices. Traditional input devices such as mouse and keyboard, while effective, limit natural and smooth movements when used in modern graphical user interfaces, virtual reality, and augmented reality systems. Gesture-based control systems offer a more natural and ergonomic way to input.
[0003] In the prior art, gesture recognition devices are mostly based on cameras, which have problems such as complex hardware, high cost, and limited use. The present invention aims to provide a convenient, low-cost interactive device based on gesture recognition. Summary of the invention
[0004] The object of the present invention is to provide a convenient and low-cost multi-device interactive gesture control method and system.
[0005] In order to solve the above technical problems, the present invention provides a multi-device interactive gesture control method, comprising the following steps:
[0006] Collect user's finger movement data;
[0007] Preprocessing the finger motion data to obtain preprocessed finger motion data;
[0008] The pre-processed finger motion data is input into the deep learning model for recognition to obtain the gesture category;
[0009] Control external devices based on gesture categories.
[0010] Preferably, collecting the user's finger motion data specifically includes the following steps:
[0011] Wearing a ring equipped with an acceleration sensor and a gyroscope on the user's finger;
[0012] The user makes interactive gestures, and the acceleration sensor and gyroscope collect acceleration data and angular velocity data as finger motion data.
[0013] Preferably, the acceleration data includes accelerations Ax, Ay, Az in the three directions of X, Y, and Z, the total acceleration of the finger, the speed of the finger, and the displacement of the finger;
[0014] The total acceleration of the finger is
[0015] The speed of the finger is
[0016] The displacement of the finger is
[0017] The angular velocity data includes the angular velocities Gx, Gy, Gz in the three directions of X, Y, and Z, the total angular velocity of the finger, and the rotation angle of the finger;
[0018] The total angular velocity of the finger is
[0019] The rotation angle of the finger is
[0020] Preferably, preprocessing the finger motion data to obtain preprocessed finger motion data specifically includes the following steps:
[0021] Normalizing the finger motion data to obtain normalized finger motion data;
[0022] The normalized finger motion data is subjected to fast Fourier transform to extract frequency domain features, and the frequency domain features are obtained as the preprocessed finger motion data.
[0023] Preferably, the normalization formula is as follows:
[0024]
[0025] Where: x is the original finger motion data; x min and x max They are the minimum and maximum values of the finger motion data respectively.
[0026] Preferably, the frequency domain features include mean, standard deviation, maximum value, minimum value and variance of acceleration and angular velocity.
[0027] Preferably, the deep learning model includes a convolutional neural network, a long short-term memory network and a fully connected layer;
[0028] The convolutional neural network includes 3 convolutional layers, each layer contains 64 3x3 convolution kernels, and the activation function is ReLU; a maximum pooling layer is used after each convolutional layer, and the pooling window size is 2x2;
[0029] The LSTM network includes two layers of LSTM networks for capturing the temporal dependency of gestures, each layer containing 50 units;
[0030] The fully connected layer is used to output the gesture category, and the final output layer uses a softmax activation function to output the probability distribution of the gesture category.
[0031] Preferably, the loss function of the deep learning model is a cross entropy loss function:
[0032]
[0033] Among them, y i is the true label, is the predicted probability.
[0034] The optimizer of the deep learning model is the Adam optimizer:
[0035]
[0036] Among them, θ is the model parameter and α is the learning rate.
[0037] The deep learning model has a learning rate of 0.001, a batch size of 32, and 50 training rounds.
[0038] The present invention also provides a multi-device interactive gesture control system, comprising:
[0039] A sensor for collecting user's finger movement data;
[0040] A preprocessing module, used for preprocessing the finger motion data to obtain preprocessed finger motion data;
[0041] The recognition module is used to input the pre-processed finger motion data into the deep learning model for recognition to obtain the gesture category;
[0042] The external device control module is used to control external devices according to gesture categories.
[0043] The present invention also provides a multi-device interactive gesture control ring, comprising:
[0044] The finger ring body comprises an outer ring and an inner ring which cooperate with each other; a receiving cavity is formed between the outer ring and the inner ring;
[0045] A mounting plate is mounted in the accommodating cavity; the mounting plate is a ring structure composed of a connected arc-shaped PCBA circuit board and a battery mounting plate, the diameter of the PCBA circuit board is larger than the diameter of the battery mounting plate, the outer side of the PCBA circuit board abuts against the inner side of the outer ring, and the inner side of the battery mounting plate abuts against the outer side of the inner ring;
[0046] The detection module includes a control unit and a sensor connected by signals; the control unit and the sensor are both mounted on the PCBA circuit board and located between the PCBA circuit board and the inner ring; the sensor includes an acceleration sensor and a gyroscope;
[0047] The power module is mounted on the battery mounting plate and is located between the battery mounting plate and the outer ring; the power module is connected to the PCBA circuit board.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] The present invention comprises a finger ring body composed of an outer ring and an inner ring that cooperate with each other, and an outer ring clamp of the outer ring is embedded in an inner ring groove of the inner ring and fixed, thereby forming a receiving cavity for receiving a detection module and a polymer battery.
[0050] The present invention uses a ring-shaped mounting plate composed of PCBA circuit boards and battery mounting plates of different diameters to tightly mount the detection module and the polymer battery on the PCBA circuit board and the battery mounting plate of the finger ring body, thereby fastening the two.
[0051] The present invention detects the movement of fingers through an acceleration sensor and a gyroscope as a user's gesture action to achieve control of external equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings.
[0053] Figure 1 This is a schematic diagram of the overall structure of a multi-device interactive gesture control ring of the present invention;
[0054] Figure 2 It is a schematic diagram of a wireless information transmission system;
[0055] Figure 3 This is a schematic diagram of gesture instructions;
[0056] Figure 4 This is a three-dimensional structural diagram of the ring;
[0057] Figure 5 This is an exploded view of the ring;
[0058] Figure 6 The present invention is a flowchart of a multi-device interactive gesture control method.
[0059] In the figure: 1-outer ring; 11-outer ring clamp; 2-inner ring; 21-inner ring groove; 22-charging port; 3-PCBA circuit board; 31-first connecting part; 4-battery mounting plate; 41-second connecting part; 5-control unit; 6-sensor; 7-power module; 71-elastic connecting piece; 8-charging contact; 9-wireless communication module; 10-reminder signal module. DETAILED DESCRIPTION
[0060] Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present invention, so the present invention is not limited to the specific implementation disclosed below.
[0061] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0062] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0063] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0064] like Figure 6 As shown, the present invention provides a multi-device interactive gesture control method, comprising the following steps:
[0065] Collect user's finger movement data;
[0066] Preprocessing the finger motion data to obtain preprocessed finger motion data;
[0067] The pre-processed finger motion data is input into the deep learning model for recognition to obtain the gesture category;
[0068] Control external devices based on gesture categories.
[0069] Preferably, collecting the user's finger motion data specifically includes the following steps:
[0070] Wearing a ring equipped with an acceleration sensor and a gyroscope on the user's finger;
[0071] The user makes interactive gestures, and the acceleration sensor and gyroscope collect acceleration data and angular velocity data as finger motion data.
[0072] Preferably, the acceleration data includes acceleration in three directions of X, Y and Z, total acceleration of the finger, speed of the finger and displacement of the finger;
[0073] The total acceleration of the finger is
[0074] The speed of the finger is
[0075] The displacement of the finger is
[0076] The angular velocity data includes the angular velocity in the three directions of X, Y, and Z, the total angular velocity of the finger, and the rotation angle of the finger;
[0077] The total angular velocity of the finger is
[0078] The rotation angle of the finger is
[0079] Preferably, preprocessing the finger motion data to obtain preprocessed finger motion data specifically includes the following steps:
[0080] Normalizing the finger motion data to obtain normalized finger motion data;
[0081] The normalized finger motion data is subjected to fast Fourier transform to extract frequency domain features, and the frequency domain features are obtained as the preprocessed finger motion data.
[0082] Preferably, the normalization formula is as follows:
[0083]
[0084] Where: x is the original finger motion data; x min and x max They are the minimum and maximum values of the finger motion data respectively.
[0085] Preferably, the frequency domain features include mean, standard deviation, maximum value, minimum value and variance of acceleration and angular velocity.
[0086] Preferably, the deep learning model includes a convolutional neural network, a long short-term memory network and a fully connected layer;
[0087] The convolutional neural network includes 3 convolutional layers, each layer contains 64 3x3 convolution kernels, and the activation function is ReLU; a maximum pooling layer is used after each convolutional layer, and the pooling window size is 2x2;
[0088] The LSTM network includes two layers of LSTM networks for capturing the temporal dependency of gestures, each layer containing 50 units;
[0089] The fully connected layer is used to output the gesture category, and the final output layer uses a softmax activation function to output the probability distribution of the gesture category.
[0090] Preferably, the loss function of the deep learning model is a cross entropy loss function:
[0091]
[0092] Among them, y i is the true label, is the predicted probability.
[0093] The optimizer of the deep learning model is the Adam optimizer:
[0094]
[0095] Among them, θ is the model parameter and α is the learning rate.
[0096] The deep learning model has a learning rate of 0.001, a batch size of 32, and 50 training rounds.
[0097] Preferably, the external device includes a desktop computer, a tablet computer, a mobile phone or smart glasses.
[0098] A multi-device interactive gesture control ring, comprising:
[0099] The finger ring body comprises an inner ring 2 and an outer ring 1, the inner ring 2 and the outer ring 1 are fixed together, and a PCBA circuit board 3 and a polymer battery are arranged between the inner ring 2 and the outer ring 1;
[0100] The sensor is arranged on the main body of the ring and includes an acceleration sensor and a gyroscope, and is used to detect the movement of the finger;
[0101] Wireless communication module 9, used to realize wireless communication with external devices such as desktop computers, tablet computers, smart glasses, mobile phones, etc.;
[0102] The power module 7 supports two modes: wireless charging or contact-type wired charging.
[0103] A multi-device interactive gesture control ring, Figure 4-5 As shown, specifically including:
[0104] The finger ring body comprises an outer ring 1 and an inner ring 2 which cooperate with each other; a receiving cavity is formed between the outer ring 1 and the inner ring 2;
[0105] A mounting plate, which is mounted in the accommodating cavity; the mounting plate is a ring structure composed of a connected arc-shaped PCBA circuit board 3 and a battery mounting plate 4, the diameter of the PCBA circuit board 3 is larger than the diameter of the battery mounting plate 4, the outer side of the PCBA circuit board 3 abuts against the inner side of the outer ring 1, and the inner side of the battery mounting plate 4 abuts against the outer side of the inner ring 2;
[0106] A detection module, comprising a control unit 5 and a sensor 6 connected by signals; the control unit 5 and the sensor 6 are both mounted on the PCBA circuit board 3 and located between the PCBA circuit board 3 and the inner ring 2; the sensor 6 comprises an acceleration sensor and a gyroscope;
[0107] The power module 7 is mounted on the battery mounting plate 4 and is located between the battery mounting plate 4 and the outer ring 1 ; the power module 7 is connected to the PCBA circuit board 3 .
[0108] Preferably, the upper and lower ends of the inner side of the outer ring 1 are both provided with outer ring clamps 11 protruding outwards.
[0109] The inner ring 2 has inner ring grooves 21 at both upper and lower ends of its outer side;
[0110] The outer ring clamp 11 of the outer ring 1 is embedded in the inner ring groove 21 of the inner ring 2 and fixed to form an accommodating cavity.
[0111] Preferably, a charging port 22 is provided on the inner ring 2;
[0112] The charging port 22 is provided with a charging contact 8 , which is connected to the PCBA circuit board 3 .
[0113] Preferably, the head end of the PCBA circuit board 3 is bent inward at a certain angle to form a first connecting portion 31, and is connected to the tail end of the battery mounting plate 4;
[0114] The head end of the battery mounting plate 4 is bent outward at a certain angle to form a second connecting portion 41 , and is connected to the tail end of the PCBA circuit board 3 .
[0115] Preferably, the bending angle of the head end of the PCBA circuit board 3 is 15° to 30°;
[0116] The bending angle of the head end of the battery mounting plate 4 is 90°.
[0117] Preferably, the power module 7 is a polymer battery, and an elastic connecting piece 71 is connected to the tail end thereof;
[0118] The first end of the power module 7 abuts against the second connecting portion 41;
[0119] The rear end of the power module 7 is in contact with the first connection portion 31 via an elastic connection piece 71 .
[0120] Preferably, the detection module further includes a wireless communication module 9 and a reminder signal module 10 connected to the control unit 5 .
[0121] Preferably, the reminder signal module 10 is an LED light.
[0122] Preferably, the outer ring 1 is a metal ring;
[0123] The inner ring 2 is a transparent resin ring.
[0124] Preferably, the battery mounting board 4 is a soft board.
[0125] Preferably, the detection module further includes an LDO module 51 and a charging management module 52;
[0126] The power module 7 is connected to the sensor 6 via the LDO module 51;
[0127] The power module 7 is connected to the control unit 5 via the charging management module 52 .
[0128] In order to better illustrate the technical effect of the present invention, the present invention provides the following specific embodiments to illustrate the above technical process:
[0129] Embodiment 1: A multi-device interactive gesture control ring, such as Figure 1 As shown, the finger ring body includes an inner ring 2 and an outer ring 1, and a PCBA circuit board 3 and a power module 7 are arranged between the inner ring 2 and the outer ring 1. The inner ring 2 and the outer ring 1 are fixed together by buckles or glue to form an integral structure.
[0130] The main functions and coordination of the modules are as follows:
[0131] 1. Sensor:
[0132] Function: Detect finger motion data, including linear acceleration and angular velocity.
[0133] Cooperation: The sensor is installed on the PCBA circuit board 3 of the finger ring, detects the movement data of the finger in real time, and transmits the data to the control unit 5 through the I2C or SPI interface.
[0134] 2. Control unit 5:
[0135] Function: Receive and process sensor data and execute gesture recognition algorithm.
[0136] Cooperation: The control unit 5 is located on the PCBA circuit board 3 of the finger ring, receives the data from the sensor, performs preprocessing and feature extraction, and inputs the data into the deep learning model for gesture recognition. The recognition result is transmitted through the wireless communication module 9.
[0137] 3. Wireless communication module 9:
[0138] Function: Transmit the recognition results to external connected devices.
[0139] Cooperation: The wireless communication module 9 (such as a Bluetooth low energy module) is installed on the PCBA circuit board 3 and directly connected to the control unit 5. The recognition result is transmitted to the connected device (such as a computer, mobile phone, etc.) via the Bluetooth protocol.
[0140] 4. Power module 7:
[0141] Function: Provide stable power supply support.
[0142] Cooperation: The power module 7 includes a built-in rechargeable lithium polymer battery, which supports wireless charging or contact-type wired charging. The power module 7 provides power for the sensor 6, the control unit 5 and the wireless communication module 9.
[0143] 5. Application:
[0144] Function: Users can customize gestures and functions through applications to achieve personalized operations.
[0145] Cooperation: The application is connected to the ring device via Bluetooth, and the user can define and edit gesture operations in the application and set the functions corresponding to the gestures. The application sends the gesture instructions set by the user to the control unit 5 via Bluetooth.
[0146] The control unit 5 includes a pre-processing module, an acceleration processing module and an angular velocity processing module.
[0147] 1) Preprocessing module: used to normalize and extract features of sensor data to ensure the accuracy and consistency of data.
[0148] 1.1. Data normalization:
[0149] After the sensor data is collected, it needs to be normalized to convert the data into a standard range (such as 0 to 1 or -1 to 1). Normalization can eliminate the difference in the output data range of different sensors and reduce the impact of data noise on model training and reasoning.
[0150] Normalization formula:
[0151] Where: x is the original data, x min and x max are the minimum and maximum values of the data respectively.
[0152] 1.2. Feature extraction:
[0153] Extract meaningful features from the raw sensor data, such as the acceleration change rate and angular velocity change rate of the gesture. These features can better describe the motion pattern of the gesture and improve the accuracy of gesture recognition.
[0154] The specific methods include: calculating the mean, standard deviation, maximum value, minimum value, variance and other statistical characteristics of acceleration and angular velocity; and using fast Fourier transform (FFT) to extract frequency domain features.
[0155] 2) Accelerometer: detects the linear acceleration of the finger and provides speed and direction data of gesture movement.
[0156] Detection method:
[0157] The accelerometer detects the movement of the finger by measuring the change in the acceleration of the finger in three-dimensional space. The sensor usually includes three mutually perpendicular axes (X-axis, Y-axis, and Z-axis) to measure the acceleration in each direction respectively.
[0158] The data acquisition frequency was set to 300 Hz to ensure that fast finger movements were captured.
[0159] Statistics:
[0160] The acceleration data of each sampling point consists of three components (Ax, Ay, Az), which represent the acceleration in the X, Y, and Z directions respectively.
[0161] Calculate the total acceleration of the finger:
[0162] Finger movement calculation:
[0163] By integrating the acceleration data, the velocity and displacement of the finger can be obtained:
[0164] speed:
[0165] Displacement:
[0166] Use Kalman filter or other filtering technology to correct the error in the integration process and improve the accuracy of the calculation.
[0167] 3) Gyroscope: detects the angular velocity of the finger and provides rotation angle data of gesture movement.
[0168] Detection method:
[0169] A gyroscope detects the rotational motion of a finger by measuring its angular velocity in three-dimensional space. The sensor usually includes three mutually perpendicular axes (X-axis, Y-axis, and Z-axis) to measure the angular velocity in each direction.
[0170] The data acquisition frequency was set to 300 Hz to ensure that the rapid finger rotation movement was captured.
[0171] Statistics:
[0172] The angular velocity data of each sampling point consists of three components (Gx, Gy, Gz), which represent the angular velocity in the X, Y, and Z directions respectively.
[0173] Calculate the total angular velocity of the finger:
[0174] Finger movement calculation:
[0175] By integrating the angular velocity data, the rotation angle of the finger can be obtained:
[0176] angle:
[0177] Complementary filters or quaternion filters are used to correct errors in the integration process and improve the accuracy of calculations.
[0178] 4) Data acquisition module and deep learning module:
[0179] 4.1 Data Collection
[0180] plan:
[0181] 200 participants were selected, each of whom collected gesture data for 5 hours to ensure the diversity and representativeness of the data.
[0182] equipment:
[0183] Using a ring device equipped with built-in accelerometer and gyroscope sensors, the finger uses a capacitive touch detection sensor device to collect the acceleration and angular velocity data of the gesture.
[0184] The data acquisition frequency was set to 300 Hz to ensure that fast finger movements were captured.
[0185] The collected data is stored in the local device for model training. The data format is time series data, and the three-axis data of acceleration and angular velocity are recorded at each time point.
[0186] 4.2. Deep Learning Module:
[0187] Data preprocessing and algorithms.
[0188] Data preprocessing:
[0189] Normalization:
[0190] Normalize the acceleration and angular velocity data using the standardized formula:
[0191]
[0192] Where (x) is the original data, (μ) is the mean, and (σ) is the standard deviation.
[0193] Feature extraction:
[0194] Extract statistical features and frequency domain features from raw sensor data. For example, calculate the mean, standard deviation, maximum, minimum, variance, etc. of acceleration and angular velocity.
[0195] Fast Fourier Transform (FFT) is used to extract frequency domain features and analyze the frequency components of gesture motion.
[0196] Convolutional Neural Network (CNN):
[0197] A multi-layer convolutional network is used to extract gesture features. For example, three convolutional layers are used, each layer contains 64 3x3 convolution kernels, and the activation function is ReLU.
[0198] A maximum pooling layer is used after each convolutional layer with a pooling window size of 2x2.
[0199] Long Short-Term Memory (LSTM)
[0200] A two-layer LSTM network is used to capture the temporal dependency of gestures, with each layer containing 50 units.
[0201] Fully connected layer:
[0202] A fully connected layer is used after the LSTM layer to output the gesture category. The final output layer uses a softmax activation function to output the probability distribution of the gesture category.
[0203] Training methods:
[0204] Loss function: Use the cross entropy loss function:
[0205]
[0206] Among them, y i is the true label, is the predicted probability.
[0207] Optimization algorithm: Use Adam optimizer for training:
[0208]
[0209] Among them, θ is the model parameter and α is the learning rate.
[0210] Training parameters:
[0211] Learning rate: 0.001; Batch size: 32; Number of training rounds: 50
[0212] Reasoning process:
[0213] Data input: Sensor data passes through the preprocessing module for normalization and feature extraction.
[0214] Model reasoning: The preprocessed data is input into the trained model for real-time reasoning to predict the gesture category.
[0215] Command generation: Convert recognition results into control commands (such as cursor movement, clicking, scrolling, etc.).
[0216] Operation Mode
[0217] Gesture recognition: Algorithms are used to convert finger and hand movements into operations such as cursor movement, clicking, and scrolling.
[0218] Customized gestures: Users can customize gestures and functions through applications to achieve personalized operations.
[0219] Examples:
[0220] Example 1: Multi-device interactive gesture control ring
[0221] Describe the overall design, main functions and basic operation steps of the ring. The ring detects gesture movements through sensors, and the control unit 5 processes the data, recognizes gestures and sends control commands.
[0222] Example 2: Gesture Control in Virtual Reality
[0223] Describes the application in a virtual reality environment. Users wear the ring and control the virtual reality device through gestures, such as manipulating virtual objects and navigating menus.
[0224] Example 3: Application in smart home
[0225] Describe the application in smart home. Users can control smart devices in their home through gestures, such as light switches, temperature adjustment, audio control, etc., providing a convenient operation experience.
[0226] Example 4: Application in medical equipment
[0227] Describe the application in medical equipment. Medical staff control medical equipment through gestures, such as operation in a sterile environment, remote control, etc., to improve the efficiency and safety of medical operations.
[0228] Example 5: Application in industrial control
[0229] Describe the application in industrial environment. Workers control industrial equipment through gestures, such as robot arm operation and equipment debugging, to improve the convenience and safety of industrial production.
[0230] Examples of gestures are Figure 3 shown.
[0231] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules, modules or units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units, modules or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0232] The units may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0233] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0234] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present invention are executed. It should be noted that the above-mentioned computer-readable medium of the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above.
[0235] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0236] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A multi-device interactive gesture control method, characterized in that: The following steps are involved: Collect user's finger movement data; Preprocessing the finger motion data to obtain preprocessed finger motion data; The pre-processed finger motion data is input into the deep learning model for recognition to obtain the gesture category; Control external devices based on gesture categories.
2. The multi-device interactive gesture control method according to claim 1, characterized in that: Collecting the user's finger motion data specifically includes the following steps: Wearing a ring equipped with an acceleration sensor and a gyroscope on the user's finger; The user makes interactive gestures, and the acceleration sensor and gyroscope collect acceleration data and angular velocity data as finger motion data.
3. The multi-device interactive gesture control method according to claim 2, characterized in that: The acceleration data includes accelerations Ax, Ay, Az in the three directions of X, Y, and Z, the total acceleration of the finger, the speed of the finger, and the displacement of the finger; The total acceleration of the finger is The speed of the finger is The displacement of the finger is The angular velocity data includes the angular velocities Gx, Gy, Gz in the three directions of X, Y, and Z, the total angular velocity of the finger, and the rotation angle of the finger; The total angular velocity of the finger is The rotation angle of the finger is 4. The multi-device interactive gesture control method according to claim 3, characterized in that: Preprocessing the finger motion data to obtain preprocessed finger motion data specifically includes the following steps: Normalizing the finger motion data to obtain normalized finger motion data; The normalized finger motion data is subjected to fast Fourier transform to extract frequency domain features, and the frequency domain features are obtained as the preprocessed finger motion data.
5. The multi-device interactive gesture control method according to claim 4, characterized in that: The formula for the normalization process is as follows: Where: x is the original finger motion data; x min and x max They are the minimum and maximum values of the finger motion data respectively.
6. The multi-device interactive gesture control method according to claim 1, characterized in that: The frequency domain features include the mean, standard deviation, maximum value, minimum value and variance of the acceleration and angular velocity.
7. The multi-device interactive gesture control method according to claim 6, characterized in that: The deep learning model includes a convolutional neural network, a long short-term memory network and a fully connected layer; The convolutional neural network includes 3 convolutional layers, each layer contains 64 3x3 convolution kernels, and the activation function is ReLU; a maximum pooling layer is used after each convolutional layer, and the pooling window size is 2x2; The LSTM network includes two layers of LSTM networks for capturing the temporal dependency of gestures, each layer containing 50 units; The fully connected layer is used to output the gesture category, and the final output layer uses a softmax activation function to output the probability distribution of the gesture category.
8. The multi-device interactive gesture control method according to claim 7, characterized in that: The loss function of the deep learning model is the cross entropy loss function: Among them, y i is the true label, is the predicted probability. The optimizer of the deep learning model is the Adam optimizer: Among them, θ is the model parameter and α is the learning rate. The deep learning model has a learning rate of 0.001, a batch size of 32, and 50 training rounds.
9. A multi-device interactive gesture control system, used to implement the multi-device interactive gesture control method according to any one of claims 1 to 8, characterized in that: include: A sensor for collecting user's finger movement data; A preprocessing module, used for preprocessing the finger motion data to obtain preprocessed finger motion data; The recognition module is used to input the pre-processed finger motion data into the deep learning model for recognition to obtain the gesture category; The external device control module is used to control external devices according to gesture categories.
Citation Information
Cited By
Computer input method based on bracelet type gesture recognition
CN120780146A
