HeartRate Monitor心跳监听功能源码
应用介绍
HeartRate Monitor心跳监听功能源码,该源码HeartRateMonitor可以支持测试心率的.只需要伴随心的跳动,结果通过颜色或者其他等数据来显示出来的,源码基本可以确定是通过摄像头采集指尖部分的图像数据,然后通过医学意义上的图像模式去匹配采集到的数据,简单的说就是一个图像处理的过程,指尖的血液循环和脉搏无非体现在图像颜色和形状的变化。 The App uses the PreviewCallback mechanism to grab the latest image from the preview frame. It then processes the YUV420SP data and pulls out all the red pixel values. It uses data smoothing in a Integer array to figure out the average red pixel value in the image. Once it figures out the average it determines a heart beat when the average red pixel value in the latest image is greater than the smoothed average. The App will collect data in ten second chunks and add the beets per minute to another Integer array which is used to smooth the beats per minute data.

©软件著作权归作者所有。本站所有内容均来源于网络,不得违法使用,仅供学习使用,请支持正版!
转载请注明出处: 662P » HeartRate Monitor心跳监听功能源码
发表评论 取消回复