The ionospheric quasi-periodic wave is a type of typical and common electromagnetic wave phenomenon occurring in extremely low-frequency (ELF) and very low-frequency ranges (VLF). These emissions propagate in a distinct whistler-wave mode, with varying periodic modulations of the wave intensity over time scales from several seconds to a few minutes. We developed an automatic detection model for the QP waves in the ELF band recorded by the China Seismo-Electromagnetic Satellite. Based on the 827 QP wave events, which were collected through visual screening from the electromagnetic field observations, an automatic detection model based on the Transformer architecture was built. This model, comprising 34.27 million parameters, was trained and evaluated. It achieved mean average precision of 92.3% on the validation dataset, operating at a frame rate of 39.3 frames per second. Notably, after incorporating the proton cyclotron frequency constraint, the model displayed promising performance. Its lightweight design facilitates easy deployment on satellite equipment, significantly enhancing the feasibility of on-board detection.