How to detect heart pulse rate without using any instrument in iOS sdk?

后端 未结 2 1972
轮回少年
轮回少年 2020-12-29 17:02

I am right now working on one application where I need to find out user\'s heartbeat rate. I found plenty of applications working on the same. But not able to find a single

相关标签:
2条回答
  • 2020-12-29 17:53

    Various DSP signal processing techniques can be used to possibly discern very low level periodic signals out of a long enough set of samples taken at an appropriate sample rate (accelerometer or reflected light color).

    Some of the advanced math functions in the Accelerate framework API can be used as building blocks for these various DSP techniques. An explanation would require several chapters of a Digital Signal Processing textbook, so that might be a good place to start.

    0 讨论(0)
  • 2020-12-29 17:58

    There is no API used to detect heart rates, these apps do so in a variety of ways. Some will use the accelerometer to measure when the device shakes with each pulse. Other use the camera lens, with the flash on, then detect when blood moves through the finger by detecting the light levels that can be seen.

    0 讨论(0)
提交回复
热议问题