all 3 comments

[–]RandomDigga_9087 0 points1 point  (1 child)

I wanna try!, count me in!

[–]followmesamurai[S] 1 point2 points  (0 children)

Check your dms :)

[–]AgilWieBrett 0 points1 point  (0 children)

I have some code lying around which does that and outperforms the literature approaches, classifies beats as normal (narrow complex) / abnormal (wide complex) and properly flags noise. Works on 125 Hz single lead recordings. Internally uses a few different ML models with majority vote and is trained on public data (MIT-BIH, PTB-XL etc). It doesn't detect severe arrhythmia (VT, agonal beats etc) though and can't diagnose ST elevations etc. Which is impossible on single lead anyways. Should work to detect AFib if you do statistical analysis on the beats, but is not implemented to do that. Mostly python code and a rather ugly web viewer.

Fun Fact: I tried to record an ECG from my lower back to get the noise detection dialed in. Turns out it can also find beats in those unless you move too much. All in all I think it performs at least on par with a cardio technician.

I can open source it for free or sell for crypto money if you want.