title: Taking photo every 66 milliseconds on Android phone for colour analysis (Heart Rate Monitor)
body: <p>I'm doing a final year project at university which involves making a medical application for Android, as a practice I have to make a heart rate monitor app.</p>
  
  <p>I have worked out that the best way to do this is to look for colour changes in your blood when holding the camera against your finger with the flash switched on.</p>
  
  <p>This is where the problems come into play, is it possible to take a photo every 66 milliseconds on the camera, then compare each pair of photos for any intensity changes in order to count a heart beat? or am I better off recording a video and analysing each frame looking for a change.</p>
  
  <p>Heck is it even possible to just look at the video preview and compare each frame.</p>
  
  <p>The questions I need answering for this problem are neatly listed below</p>
  
  <ul>
  <li><p>What is the best method for this, taking photos, recording video or looking at the live preview.</p></li>
  <li><p>Is there any posts or pages I can visit on the internet where people have attempted similar things</p></li>
  <li><p>Anyone got a basic method I should do to get two images that I can compare within the time frame.</p></li>
  <li><p>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</p></li>
  </ul>