Weeded out some more false negatives – if there is a large movement, it waits 10 seconds before counting eye movements again.
Category: Lucid Scribe Plugins
Tweaked the algorithm to weed out some more false negatives.
Improved the algorithm… it was missing REM episodes where the eye movements stopped for more than 5 seconds before the stairway to heaven was reached.
Episodes like in the following minute, where there is a 10 second break in eye movements around the 30 second mark, will now keep counting and trigger the audio tracks:
Episodes like in the following minute, where there is a 10 second break in eye movements around the 30 second mark, will now keep counting and trigger the audio tracks:

Ensured that the video feed is always top-most.
Added an option for halovision devices where the headband used to be listed and the webcams / built-in cameras are listed.
Made the stairway to heaven shorter again, the REM detection should be almost perfect now.
Made the stairway longer to climb, but faster. This makes it more likely to trigger on rapid eye movements and less likely to trigger when settling down for the night. And added an extra filter to discard small movements that are within a second of large movements, as the ignore filter was sometimes being bypassed by small movements in the wake of large movements.

Added an “Ignore Percentage” filter variable to the algorithm. It ignores any movements that go over that amount of the video feed. So if it is set to 50% and more than half of the pixels have changed, it will ignore it. It defaults to 16% – anything more than that probably isn’t just the eyes moving during sleep paralysis…

Added an option to record the video feed along with the Lucid Scribe Data files under \User\Documents\lucidcode\Lucid Scribe\Days\.
Made the program files path dynamic.
