We are about to switch to a new forum software. Until then we have removed the registration on this forum.
How do I do this? Instead of 2 clicks, I use a mindwave-headset to register when i blink, and i want my camera to capture when i blink 2 times within, lets say 2 seconds. We have a minimum limit on the blinkstrength (how "hard" you blink), and we want 2 concesutive blinks above the limit within the time limit to capture an image.
Thanks in advance
Comments
Hello,
your question is vague and you don't show any code...
do you have code for mouse already?
I wrote a code that takes mouse input (and not blinking) but demonstrates the timing (you wrote 2 seconds)...
only when the timing is correct, we see println "fast" otherwise your blinking / mouse clicking was too fast or to slow...
Did you ask for that part or what is your issue exactly?
In my code you need to replace my mousePressed with you blink sensor (with blinkstrength).
I hope this helps.
Chrisir ;-)