Does anyone know of any programs to detect REM from video? It seems like it wouldn't be too difficult to write one.