Read underlying color/light data from Android Wear heart rate sensor?

删除回忆录丶 提交于 2019-11-30 15:37:36

问题


I'd like to read the heart rate sensor data on an Android Wear smartwatch. The documentation makes it seem like the heart rate sensor only reports two things:

  1. Heart rate (in beats per minute)
  2. Either an accuracy measure or an error code

Is it possible to get the Android Wear heart rate sensor's underlying data, i.e., the amount of red light (or green or blue light) at any point in time, which it uses to determine when the heart beats?

The Instant Heart Rate app gets color data from the camera (which I know is different from the Android Wear heart rate monitor), which it uses to display a graph of the heart rate:

I'd like to do a similar thing, but with the Android Wear's optical heart rate sensor instead of with the camera. In order to make the graph, I'd need to know the level of red light at any point in time, not just the beats-per-minute measure. Does anyone know if that's possible?


回答1:


This will be dependent on the manufacturer exposing the data. I agree it could be very cool. For instance, reflectance could be used to analyze spectral data, and beat to beat variability is an indicator of health... Maybe submit a request to Android site to create an API for the raw sensor data?



来源:https://stackoverflow.com/questions/27308542/read-underlying-color-light-data-from-android-wear-heart-rate-sensor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!