{'fraction_non_alphanumeric': 0.030108634575763252, 'fraction_numerical': 0.009037272897546357, 'mean_word_length': 4.719603642206748, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
EOG-sEMG Human Interface for Communication

The aim of this study is to present electrooculogram (EOG) and surface electromyogram (sEMG) signals that can be used as a human-computer interface. Establishing an efficient alternative channel for communication without overt speech and hand movements is important for increasing the quality of life for patients suffering from amyotrophic lateral sclerosis, muscular dystrophy, or other illnesses. In this paper, we propose an EOG-sEMG human-computer interface system for communication using both cross-channels and parallel lines channels on the face with the same electrodes. This system could record EOG and sEMG signals as “dual-modality” for pattern recognition simultaneously. Although as much as 4 patterns could be recognized, dealing with the state of the patients, we only choose two classes (left and right motion) of EOG and two classes (left blink and right blink) of sEMG which are easily to be realized for simulation and monitoring task. From the simulation results, our system achieved four-pattern classification with an accuracy of 95.1%.


Introduction
During eye movements, a potential exists across the cornea and the retina, and it is the basis for the electrooculogram (EOG). The EOG can be modeled by a dipole [1] and used in medical systems. Several EOG-based humancomputer interface studies are found in the literature. For example, a wheelchair controlled with eye movements is being developed for disabled and elderly people. The eye movement signals and the sensor signals are combined, and both direction and acceleration are controlled [2]. Surface electromyogram signals (sEMGs) are detected over the skin surface and are generated by the electrical activity of muscle fibers during contraction [3]. Moving muscles can be detected by analyzing sEMGs. One of the important applications of sEMGs is controlling artificial legs. Although head movement, which is a natural gesture, can be used to indicate a certain direction [4], seriously disabled people cannot move their neck and head. However, many of these people can employ facial muscle movement. sEMG is a way of studying facial muscle activities by recording the action potentials from contracting fibers. sEMG can be detected with surface electrodes, which are easy to apply and noninvasive and pose no health and safety risks to the users. Computer systems can also be controlled by using face sEMG signals [5,6]. These computer systems can recognize facial motion (left blink, right blink, and bite) by using sEMG sensors. Furthermore, EOG, electroencephalogram (EEG), and EMG signals can be classified in real time and can control movable robots by using an artificial neural network classifier [7].
Investigating the possibility of employing EOGs for a human-computer interface, the relation between the sight angle and an EOG is determined. In-depth studies have found that the slowly changing baseline drift makes it difficult to estimate continuous EOG signals, and this drift only appears in direct current (DC) signals in the circuit. To overcome this issue, our system previously proposed the use of alternating current (AC) of EOGs to reduce the baseline drift by segmentation of the signal [8][9][10]. In these papers [8][9][10], we introduced the mouse cursor control system using our EOGs technique. The initial thresholds of the eyes movement class (right, left, and voluntary blink) are 2 Computational Intelligence and Neuroscience empirically determined individually for each user. Two eyes movement classes (right and left) are command of the same movement of the mouse cursor. In these papers [8][9][10], the eyes movement of diagonally lower right direction is a command of click processing. In addition, the voluntary blink is a command of click processing, too. However, these systems have a problem in which the face sEMG signals become noisy for EOG signals.
In this study, we are developing an EOG-sEMG human interface system for communication. Our proposed EOG device does not have the problem of artifacts from eye blinking. We apply an algorithm that uses the both dynamic variation of the DC element and the pattern classification of the AC element. This segmentation of the signal reduces baseline drift. Although there was a 3-electrode method which could measure vertical and horizontal components in EOG which was considered as the noise during the EEG measuring [11], our EOG system still uses cross-channels which use 4 electrodes to both improve the accuracy of EOG measuring and realize the EOG-sEMG "dual-modality" process simultaneously. Furthermore, the cross-channel EOG signals have a similar performance to the plus-channel method which is widely used in EOG measuring. In addition, the electrode position of cross-channel EOG signals method has a good feature that sEMG can also be effectively measured at the same time. In comparison with other papers [12], this is a useful merit.
Compared with other related researches on humancomputer interfaces for helping people with disabilities such as eye tracking systems [13], which use image processing, the EOG-sEMG based on our proposal human-computer interface has strong anti-interference ability from the environment such as lights and noises. The patients could use this type of interface even without sight. In particular, the ALS patients could still control their eyeballs and muscles around the eyes even in terminal stage, in which they could use the EOG-sEMG based on our proposal human-computer interface also. Although image processing devices are widely used because of being intuitive and more predictable, the EOG-sEMG based on our proposal human-computer interface still provides good choice for the severely handicapped persons.
In this paper, we propose a technique that can perform face pattern recognition by recording the EOGs and sEMGs. In order to prove the performance of our proposed method, we tried 3 related experiments step by step. At first, although as much as 7 classes could be recognized, dealing with the real state of the patients and the initial accuracy tests, we only choose two classes (left and right motion) of EOG and two classes (left blink and right blink) of sEMG which are easily to be realized for simulation and monitoring task. Next, we carried out experiments of character inputs by using our proposed system with those 4 classes. The experimental participants were healthy men in their twenties who agree to join in our experiments with no coercion. From these experiments, we showed that the four-pattern recognition of our proposed system is easy to learn and to use. Further, we applied our proposed simplified method (software that can do character input with one click (one pattern recognition)) for the severely handicapped persons (muscular dystrophy patients).

The Measurement System
2.1. Cross-Channels. As shown in Figure 1(a), the pluschannel method is widely used as the most conventional way for recording EOG signals in the previous research: the horizontal signals were recorded by Channel 1 (CH1), and the vertical signals were recorded by Channel 2 (CH2) [8][9][10]. In this paper, to improve the accuracy of the EOG signals, a new cross-channel method is proposed as shown in Figure 1(b). The horizontal and the vertical signals could be recorded by both channels at the same time. It is much easier to analyze data using double signals.  is proposed. Figure 2 shows the formal scheme for acquisition and analysis of the EOG and sEMG signals for control and flow of information through the system. Our proposed system has four components: (1) amplifier, (2) filter, (3) A/D converter, and (4) mouse cursor control system. Specifically, this means the system consists of five electrodes, an A/D converter, a personal computer, and a monitor (shown in Figure 2). Four electrodes for the two channels of sEMG signals are pasted on the face, and one electrode is pasted on the right or left wrist as the ground.

The EOG-sEMG Sensing Device.
In this subsection, we show the interface device used in this study. Figure 3 shows a person wearing the interface device. This interface device resembles goggles or glasses, fixing the electrodes. The signals measured by the device are sent to the PC using Bluetooth. The sent data are shown in Figure 4. The measured signals are DC currents for two EOG channels (2 ch), which are CH1 and CH2, and AC currents for two EOG channels (CH3 and CH4). In the same time, 2 ch signals of sEMG are also measured, which are CH5 and CH6. We will show the details of the measured data in the following section.

The EOG Recording System
In this section, we will introduce the EOG recording system. Our proposed EOG system is based on two flows: (1) the amplifier and the low-pass filter (DC element) and (2) the amplifier, low-pass filter, and the high-pass filter (AC element). After recording the signal amplitude (1000 times) and noise reduction measures for the biopotential data acquisition system, four kinds of eye movements (right, left, up, and down) are recognized accurately and the electronic noise reduction is also successful. It should be noted that the horizontal EOG signals are stronger than the vertical EOG signals. That is because vertical saccades are slower than horizontal saccades, and downward saccades are the slowest [14]. Figures 5-8 show that the four eye movements (right, left, up, and down) are clearly different. Moreover, CH1 and CH2 are DC signals, which can be used for recording the continuous movements of the eyes. CH3 and CH4 are AC signals of the EOG. Therefore, CH3 and CH4 strongly react to eye movements only.
Because the EOG signals change for all four eye movements, we imported CH1 + CH2, which is used for the vertical signals and CH1 − CH2 for the horizontal signals.
In the experiments, we asked each participant to move his 4 Computational Intelligence and Neuroscience  Figure 2 shows the formal scheme for the acquisition and analysis of the sEMG signals for control and flow of information through the system. Our system consists of these four components: (1) surface electrodes, (2) amplifier, (3) high-pass filter, and (4) personal computer for sEMG signal classification. The sEMG signals detected by the surface electrodes are amplified and filtered prior to data acquisition to reduce noise artifacts and enhance spectral components that contain the information for data analysis. Two channels of sEMG signals can be used to recognize facial movement. To remove the DC level and the noise of the 60 Hz power line, the high-pass filter is used. The cutoff frequency of the high-pass filter is 66.7 Hz. The recordings in Figure 10 show the applied noise reduction measures in our system. As a result, the data of the three sEMG classes (right blink, left blink, and bite) are clearly different. After filtering and amplifying (approximately 1000 times), the sEMG signals are digitized and then transferred to the personal computer. The sampling frequency of the measurement data is 1 KHz on a band from 0 Hz to 500 Hz.

sEMG Signal Recording
The sEMG signals are processed by the moving average processing. The moving average processing calculates the rectified and unweighted mean of the previous ( = 50) data points. Then, the value after the moving average processing is determined as "active" or "inactive" based on the threshold. The thresholds (CH5 and CH6) are set according to the users. This method is necessary to set the threshold value of each user. Moreover, this system does not react to the usual blink. Figure 11 shows a diagram of this process.

Pattern Recognition Algorithm
In this section, we will introduce our proposed EOG-sEMG pattern recognition algorithm. Figure 12 shows the overall flow of our proposed system. This process consists of repeating steps. The pattern recognition consists of five classes: two classes (left and right movement) for the EOG and the three classes (left blink, right blink, and bite) for the sEMG.
If the sEMG data after signal processing exceeds a threshold, the pattern of the sEMG data is determined by CH1 only (right blink-like motion) or CH2 only (left blink-like motion) or both (the bite or strong blink). Our proposed algorithm initializes the DC elements of the EOG after the sEMG activity is completed. Furthermore, when the AC element of the EOG has not changed (eyes are not moving) and the sEMG is not active, our proposed algorithm initializes  the reference value which eyes are looking as the front ("EOG renewal" in Figure 12). In other words, our system determines that eyes are looking at the front, because AC element is not changed. At that time, our system updates as the reference value of the DC elements. After that, our   system uses the amount of change in DC from this reference value. From the experimental rule, judging threshold between active and inactive is set. Next, when the eyes move, our algorithm compares the changing range of CH1 + CH2 and    CH1 − CH2. When CH1 − CH2 is larger, our algorithm performs the determination process of the EOG. When CH1 + CH2 is larger, our algorithm determines that the eyes moved in the vertical direction, because the EOG data for the vertical direction of the eyes is similar to the EOG data for the blink pattern. In addition, our experimental results indicate that many people cannot easily control the up direction of the eye.
Next, we introduce the EOG pattern recognition algorithm, an example of EOG pattern recognition processing shown in Figure 13. Although Figure 9 shows that all of eyes motions could by checking values for CH1 + CH2 and CH1 − CH2, pattern marching algorithm is still necessary to solve the baseline shift caused by drift problem. The algorithm steps of Figure 13 are as follows: (1) The DC and AC elements of the EOG exceed the threshold for the right direction. It is determined that this is the right direction of the eyes.
(2) The DC element continues to exceed the threshold for the right direction and the AC element returns to the baseline. The direction of the eyes continues to be to the right.
(3) The AC element greatly changes in the negative direction when the eye direction returns to the center position.
(4) The AC element and the DC element return to each element's baseline. Then, the baseline is updated.
Our system performs the determination of the right and left movement of the eyes by using this algorithm. This algorithm makes it possible to determine direction. This is a difficult process when using only the AC element.
Computational Intelligence and Neuroscience

Experiments and Results
To test the effectiveness of our proposed system, we conducted two experiments: one is a pattern recognition test and the other is a character input test.

Pattern Recognition Experiment.
First, we conducted pattern classification experiments for the two eye movement classes (right and left) and the three facial sEMG classes (right blink, left blink, and bite). The interval of each action is 3 seconds (shown in Figure 14). Each participant performed each eye movement nine times. In addition, we tested whether our proposed system could reject a normal blink. We carried out the normal blink rejection test 30 times. The participants of the experiments were eight healthy males who are all the numbers of our lab in their twenties who gave their consent to participate in this experiment.

94%
6.3. Character Input Experiment. Next, we conducted the character input experiment using the four classes (right (EOG), left (EOG), right blink (sEMG), and left blink (sEMG)). The alphabet sentence input software, Hearty Ladder [6], is shown in Figure 15. We used the four-division selection method. We assigned the four patterns as follows: Right (EOG) is the command to select lower right area.
Left (EOG) is the command to select lower left area.
Right blink (sEMG) is the command to select higher right area.
Left blink (sEMG) is the command to select higher left area.
The user repeated the filtering of four patterns until the character of the last pattern was selected. The control interval was 0.1 s. We conducted experiments of the "miyazaki" input task (8 characters: 4 operations for 1 character) which is the name of our university. The participants of the experiments were nine healthy males in their twenties who gave their consent to participate in this experiment. The experimental participants included six people experienced with this system. We tried five trials of the "miyazaki" input task. We counted the number of misses and the time duration until the end of input. The experimental results are shown in Table 2.  we consider that one advantage of our proposed system is that users do not need a lot of training.
We compared the performance of our proposed method with the EOG method and the sEMG method. The EOG method used right and left eye motions only as the 2-division selection method. The sEMG method used right blinks and left blinks only as the 2-division selection method. We tried the same experiments of five trials of the "miyazaki" input task with the same participants. These experimental results are shown in Table 3. It can be seen that our proposed method has the best performance of all the three methods. We calculated the time required for one operation. The EOG method was 1.93 s, the sEMG method was 1.65 s, and our proposed method was 1.56 s. In addition, the miss rate of the sEMG method was less than that of our proposed method. One of the most conclusive reasons is that the number of operations (7 operations for 1 character) is bigger in the 2-division selection method than the 4-division selection method.
As we mentioned in this section, 2 or 4 patterns could be recognized by our proposed system. All these patterns could be assigned as separated functions and, dealing with the state of users, all these patterns could be employed by any combination of them. In the next section, we will discuss the application of our proposed system for the severely handicapped persons using only 1 pattern.

Experimental Results of the Severely Handicapped Persons
In this paper, we applied our proposed method for the severely handicapped persons (muscular dystrophy patients). We have gotten the approval of the ethics committee of the University of Miyazaki. The experiment of Section 6 with complicated operation will cause great fatigue to the people with disabilities, so experiments were carried out in the way that one character will be entered with a single click using EOG or sEMG. Only one pattern was selected from EOG or sEMG patterns that could be easily used. In this character input method, character is automatically selected by software; user can be selected by clicking when the target character has been chosen by the software. In this experiment, clicking processing is carried out by the recognition of EOG or sEMG activity. This experiment had the two subjects. In order to minimize the influences of physical condition of subjects and environments, we tried the same experiments 10 times on different occasions in different days. The continuous 30 minutes in one experiment was used for testing the Japanese character input. Table 4 shows the experimental results. From Table 4, recognition rate of sEMG method is 99.2% and recognition rate of EOG method is 98.0%. The input time was slow about 1 to 2 seconds compared to healthy subjects. Therefore, the handicapped persons have the same result as healthy ones using a single click. From these results, we can say that our approach is effective in severely handicapped persons.

Conclusions
In this study, we introduced an EOG-sEMG humancomputer interface device designed for patients suffering from amyotrophic lateral sclerosis or other illnesses. We use both cross-channels and parallel lines channels on the face with the same 4 electrodes. This system could record EOG and sEMG signals as dual-threading for pattern recognition simultaneously. Furthermore, our proposed method using showed that our proposed method is effective for four-pattern recognition (right (EOG), left (EOG), right blink (sEMG), and left blink (sEMG)). In particular, our proposed method demonstrated good performance for the character input experiments. The miss rate was only 1.4%. In addition, the results of inexperienced and experienced participants showed very little difference. From these results, we think that one advantage of our proposed system is that users do not need a lot of training. Furthermore, we compared our proposed method with the EOG method and the sEMG method. Our proposed method required the shortest time for character input. Our proposed human-computer interface can be applied in the EOG system, the sEMG system, and the EOG-sEMG system. It is possible to use our system for patients who can only control their eye motions. It is also possible to use only the sEMG signals with a high success rate until the user is comfortable using the device. Our proposed humancomputer interface has the advantage that it can be used depending on the situation.
We hope to be able to communicate with patients suffering from amyotrophic lateral sclerosis or other illnesses by using our system. In our future work, we plan to test many subjects and more severely disabled people.