Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heart rate measurement using back camera #376

Open
pawisoon opened this issue Aug 17, 2015 · 11 comments
Open

Heart rate measurement using back camera #376

pawisoon opened this issue Aug 17, 2015 · 11 comments

Comments

@pawisoon
Copy link

Hi all!
I'm pretty sure I saw some announcements that ResearchKit will support heart rate measurement but now when I Google it again I can't see such information..

In docs there's also a clue saying(under the second sceeenshot):
"The rest step. This step is skipped if heart rate data is unavailable."

screen shot 2015-08-17 at 12 48 26

Is it implemented in ResearchKit or not yet? Any info?

Cheers
P

@p2
Copy link
Member

p2 commented Aug 17, 2015

You would typically read heart rate and other health information from HealthKit. Whether implementing heart rate detection using camera+light or something more advanced like [Cardiio](cardiovascular disease) into ResearchKit would be desirable is a good question.

@pawisoon
Copy link
Author

I'll wait for more replies.. maybe somebody knows something about future updates on it.

My plan to do this anyway so if I will have enough time I will try to push it to ResearchKit..

@YuanZhu-apple
Copy link
Member

@p2 is correct. ResearchKit itself does not measure heart rate, it only reads heart rate from HealthKit.
@pawisoon Can you share with us what do you plan to implement?

@pawisoon
Copy link
Author

@YuanZhu-apple My project demands from me to implement heart rate measurement right after some activity so I got the basic idea of what I want to do.
First of all I'll try to get the camera and led(optional) working on demand and then I will focus on function for counting the bpm.
I found some useful old projects online but I'm not into Obj-C so I will rewrite it using Swift.
If someone wants to help with it or something I'd really appreciate it..

@scdi
Copy link

scdi commented May 16, 2016

When an item is labeled "new feature" is it implemented? Or, is it just a labeled to distinguish it from a bug?
jude

@YuanZhu-apple
Copy link
Member

@scdi Just distinguish it from a bug. And it is not on the road map.

@scdi
Copy link

scdi commented May 18, 2016

Thank you. Any news on when approximately the next release will take place?

Sent from my iPhone

On May 17, 2016, at 4:33 PM, Yuan Zhu notifications@github.com wrote:

@scdi Just distinguish it from a bug. And it is not on the road map.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@dallinja
Copy link

@pawisoon I found those old camera/LED projects in Obj-C online too. Any luck converting to Swift?

@AbidSana
Copy link

@pawisoon , I want to implement the detection of heart rate using the iPhone's cam, but I found just some old tutorials in Obj-C. I want to know if you found any solution to implement this feature using Swift ?
Any help will be appreciated :)

@kashifmehmood9
Copy link

I have developed the same using Objc and swift let me know if interested

@davwillev
Copy link
Contributor

As a University researcher in the health and rehabilitation / exercise field, this would be a great addition to the standard ResearchKit tasks. Some earlier commentators were expressing concern that the Apple Watch is the best source for heart rate (HR) data. While I can't disagree, this massively limits the size of any study to people that already own an Apple Watch, or alternatively increases the budget since all participants would require an AW to be purchased. I can promise that this would never happen in a large study, so the best solution is to measure HR through the phone camera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants