acat icon indicating copy to clipboard operation
acat copied to clipboard

Blink detection actuator switch

Open unixunion opened this issue 8 years ago • 8 comments

I have a family friend who could use ACAT if it can do blink detection as a "switch". Is there any possibility to add "blink" as a actuator switch.

unixunion avatar Dec 22 '16 09:12 unixunion

You can use any switch (hardware or software) by binding it like a simulated keypressing for F12 key.

alexandre-mbm avatar Dec 24 '16 00:12 alexandre-mbm

Did you manage to find a 'blink' actuator and configure it as an F12 trigger? I have an MS friend who may also have to rely on blinking as most of her other faculties are lost.

RalfCT avatar Apr 18 '17 20:04 RalfCT

No I didn't find any sw that could do the blink detection. :/ I reached out to many people but seems like it's not something anyone wants to build.

/K On tis 18 apr. 2017 at 22:46, RalfCT [email protected] wrote:

Did you manage to find a 'blink' actuator and configure it as an F12 trigger? I have an MS friend who may also have to rely on blinking as most of her other faculties are lost.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/01org/acat/issues/44#issuecomment-294976760, or mute the thread https://github.com/notifications/unsubscribe-auth/ABsP6AsP53hJVR_UnBjoPRaXxYzwM9Xkks5rxSEngaJpZM4LTxym .

unixunion avatar Apr 19 '17 09:04 unixunion

Hi Kegan,

I've also downloaded Click2Speak as an alternative to ACAT. Check out the following, eye tracking may be an option for you.

  • http://www.click2speak.net/category/our-journey
  • https://tobiigaming.com/products/

Cheers, Ralf

On 2017/04/19 11:06, Kegan Holtzhausen wrote:

No I didn't find any sw that could do the blink detection. :/ I reached out to many people but seems like it's not something anyone wants to build.

/K On tis 18 apr. 2017 at 22:46, RalfCT [email protected] wrote:

Did you manage to find a 'blink' actuator and configure it as an F12 trigger? I have an MS friend who may also have to rely on blinking as most of her other faculties are lost.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/01org/acat/issues/44#issuecomment-294976760, or mute the thread

https://github.com/notifications/unsubscribe-auth/ABsP6AsP53hJVR_UnBjoPRaXxYzwM9Xkks5rxSEngaJpZM4LTxym

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/01org/acat/issues/44#issuecomment-295176370, or mute the thread https://github.com/notifications/unsubscribe-auth/AadBqyK_sPqfw8_4aOObXAuohbDujzqaks5rxc6ygaJpZM4LTxym.

RalfCT avatar Apr 19 '17 09:04 RalfCT

Hi, I have tried Emotiv Epoc+ but I cannot make it works with ACAT... Is there anyone who could give me any advice how to connect this...? I am looking for solution for woman who has MS... We think that blinking should be the best... I will be glad for any hint how to do it... Thank you indeed!

ahaleksandra avatar Jun 21 '17 23:06 ahaleksandra

@ahaleksandra I've made a blink actuator using OpenFace. It sends F22 so that it shouldn't conflict with any thing so add that as another trigger to the keyboard actuator.

OpenFace_Blink_Actuator_v0.0.1_x86 OpenFace_Blink_Actuator_v0.0.1_x64

You'll probably need to install the Visual C++ redistributable package.

  • q to quit
  • r to restart
  • s to display the current aspect ratio of the left eye
  • d to display the current aspect ratio of the right eye

the threshold ratio is currently set to 4.

zelmon64 avatar Jun 23 '17 17:06 zelmon64

@zelmon64 thanks for code sharing. I have read your code and to send a F22 do you use only boost only ?

LaurentBerger avatar Jun 24 '17 08:06 LaurentBerger

@LaurentBerger it uses SendInput. I'm not sure what you mean about using boost. I only copied an example I found. If there's a better way I'll happily change it.

Edit: for reference here's where I found the example I used: http://forums.codeguru.com/showthread.php?377393-Windows-SDK-User-Interface-How-can-I-emulate-keyboard-events-in-an-application

I added the pause before releasing the key because without it ACAT wouldn't get triggered.

zelmon64 avatar Jun 24 '17 08:06 zelmon64