5

There was a third-party app to snap pictures with winks: winky on github. This app gets the eye gesture detection service using reflection and uses it to take pictures. But the service is unavailable since XE11.

Is there a way to detect winks in a Google Glass running on XE12? Glasses now support taking pictures with winks (which can be configured from settings), but is there any service available in GDK to detect winks? Or is there any event listener that fires when a wink is detected?

Tony Allevato
  • 6,429
  • 1
  • 29
  • 34
Sufian Latif
  • 13,086
  • 3
  • 33
  • 70

3 Answers3

5

We're using the wink detector in one of the projects I'm working on. Our code is open source:

https://github.com/victorkp/DriveSafe4Glass

Victor KP
  • 437
  • 3
  • 10
  • 1
    I may be missing something but it looks like the wink detection part of your code is just a stub that doesn't actually do anything. Could you provide an example of using the wink detection feature please? – Ben Feb 06 '14 at 11:03
  • It is a stub that serves only to let the code compile. On Glass itself, that class and those methods are implemented. That code does work in DriveSafe. – Victor KP Feb 16 '14 at 17:47
1

I can half-answer your question, there doesn't seem to be an official way to do it.

Looking at my Glass device, this seems to be the sensor that picks up on winking activity.

Looking through the GDK docs, I can't find any reference to this sensor or how to develop with it. This probably means that as of now, Google doesn't want you to detect winks on Glass.

MCKapur
  • 9,127
  • 9
  • 58
  • 101
0

I tryed winky and it does not work on XE16. But I found this example which is really good and it works on XE16 too. The example: EyeGestureDemo

Aksiom
  • 1,565
  • 4
  • 25
  • 39