Anonymous (not verified) - Mon, 05/06/2013 - 14:54
In order to verify my arduino based prototype, by the end of 2011, I decided to use the depth infrared camera from a kinect to verify "visually" that it works.
I am not going to watch 8 hours of someone sleeping, I'll just get a computer to do that, so I learned some basics for "computer vision" in R.
Here I am using frame subtracting by importing each greyscale frame from the depth camera and subtracting it to the next frame. This way I can identify changes and how small/large are these changes between each frame.
Here is a sample,