Taking photo every 66 milliseconds on Android phone for colour analysis (Heart Rate Monitor)

北慕城南 提交于 2019-12-03 07:53:36

What is the best method for this, taking photos, recording video or looking at the live preview.

I would think that live preview would be the right answer. Taking photos is not -- they will not happen anywhere near that quickly. Recording video and post-processing it would be possible, but I fail to see how this will be applicable for a real-time heart monitor.

Is there any posts or pages I can visit on the internet where people have attempted similar things

You can examine the Barcode Scanner source code, which uses the live preview to scan for barcodes.

Lastly If I do take the basic take a picture every 66 milliseconds approach, what can I do to ensure the picture is taken at the correct time intervals

Android is not a hard RTOS. AFAIK it will be impossible for you to precisely time things to be 66 milliseconds.

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