Better HN
topnewbestaskshowjobs
Log inSign up

kbre93

174 karma · joined Mar 23, 2017 (9y ago) · 40 submissions

Submissions

1.

Show HN: Every Step You Take – Weekly Insights from Your iPhone Step Data(github.com ↗)

1 points · by kbre93 · 2y ago · discuss

comment 2y ago · link · parent

Atrial Fibrillation (AF) is the most common serious heart arrthymia, affecting around 30 million people worldwide. People with AF have a 4 times higher risk of mortality and 5 times higher risk of stroke than the normal population.

I've implementated a widely-cited CNN architecture for ECG-based AF classifcation. Classification can be run directly off a 60 second recording from a Polar H10 Heart rate monitor.

3.

Show HN: Interoception – Know your heart with the Polar H10 heart rate monitor(github.com ↗)

2 points · by kbre93 · 2y ago · discuss

comment 3y ago · link · parent

Hi stenmorten try going into Settings > Privacy & Security > Bluetooth, and adding your terminal application or development environment to the list of applications that are allowed to use Bluetooth

comment 3y ago · link · parent

This should be fixed now. Let me know if you still have issues

comment 3y ago · link · parent

This should be fixed now. Let me know if you still have issues

comment 3y ago · link · parent

The blue circle is your chest expansions and so when it follows the gold circle you’re controlling your breathing well. Good hrv is above 150 ms and is shown as a green band on the bottom graph

comment 3y ago · link · parent

Thanks ar-jan I’ve merged those and I think the Bluetooth issues are related to security permissions

comment 3y ago · link · parent

Yes basically, I remove the gravity component by high pass filtering, and then take just the component of acceleration which is along the axis of chest expansion (i.e. pointing out from the sensor) off the top of my head this is the z axis. But this only works when you are sitting quite still, movement introduces a lot of noise to the acceleration

comment 3y ago · link · parent

Very nice, yeah the Polar H10 sends raw ECG, as well as the calculated heart rate, so could be what you're looking for.

comment 3y ago · link · parent

I'm glad

comment 3y ago · link · parent

It currently only works with a Polar H10, which has a heart rate monitoring (ECG) and an accelerometer (for measuring breathing rate through chest expansion)

comment 3y ago · link · parent

Right, but I don't think they measure it directly (could be wrong), I think they measure it based on change in heart rate

comment 3y ago · link · parent

Interesting, thanks for sharing, it looks like it has similar core sensors to the Polar H10, but I'm not sure how it compares overall

comment 3y ago · link · parent

That article is referring to the internal memory that the Polar H10 has, which can be used to store some data. But you will eventually need to connect the device to retrieve that data. You can access this data programatically with a blue-tooth-low-energy client like my application is doing (using python)

comment 3y ago · link · parent

This would be possible I with the Polar H10 I think. The H10 sends raw ECG and analysis on this waveform could be used to find anomalies like afib. I haven't done this myself though.

comment 3y ago · link · parent

This is measured over a very short time scale though – so not a persons absolute max and min heart rate, just how it varies over a few seconds. And yes, higher HRV is generally healthier and points to a better balance between the fight-and-flight response, and rest-and-digest response.

comment 3y ago · link · parent

No, this is just for biofeedback training, so just for a session once a day

comment 3y ago · link · parent

Yep that's right, and the H10 is able to stream the ECG waveform. For this project I used the inter-beat-interval that is sent however, as it means I don't have to run peak detection on the ECG to get heart rate.

comment 3y ago · link · parent

The H10 is a newer and better version of the H7. Because breathing rate is measured from chest expansion that is pretty easy to verify (there can be noise in the estimate of course due to movement artefacts). Heart rate estimation from the H10 is widely considered to be reliable, The H10 also offers to ability to stream the raw ecg to check this.

comment 3y ago · link · parent

Yes it's common to estimate breathing rate based on the oscillations in the heart rate pattern. But estimating it from the chest expansion is a more direct method

comment 3y ago · link · parent

Interesting, thanks for sharing. It's cool they do it as a platform, but I'm not sure what the benefit over using a Polar H10 would be, which are widely available, I guess it would be custom branding of the hardware

comment 3y ago · link · parent

I think most bluetooth low energy devices can be connected to quite easily programmatically as long as you know the data specification. Polar use to publish their data spec on their website but took it down a few years ago so I had to search around to find it.
12