Hello
@João Vitor Testi Ferreira, A very good idea of collaboration! We can further talk the nit-gritty bits of the design for example input signal frequency, the processing and everything over personal chat box. We don't want to overcrowd the space.
But to answer your question we processed the input signal of the ECG signal by using 1Hz simple moving avg filter for the QRS annotations. R-R interval series was created and the window length was of 5 secs. We did the whole signal processing section in matlab and the FNN prototype design in Xilinx vivado.
The dataset is open-sourced so you can take a look from it here:
https://physionet.org/content/apnea-ecg/1.0.0/
hope I answered your question!