Epilepsy is one of the most common neurological disorders in the world [1], affecting about 50 million people worldwide [2]. Epileptic seizures occur when millions of neurons are synchronously excited, resulting in a wave of electrical activity in the cerebral cortex [3]. Electroencephalography (EEG) is a noninvasive tool that measures cortical activity with millisecond temporal resolution. EEGs record the electrical potentials generated by the cerebral cortex nerve cells [4]. Therefore, this tool is commonly used for the analysis and detection of seizures [5]. Epilepsy causes many difficulties in relation to the quality of life of the patient. It is therefore vital that automatic detection algorithms exist to aid neurologists to accurately...