Google Glass controlled by winking – code, hardware and official google info

UPDATE – WINK control code found in the Google Glass Kernel

Google has released the kernel source code of Google Glass and we have an other hint that winking to Google Glass is a real feature.
You can find the following source code in the glasshub.c file:






What it looks like from a bystanders perspective

Google Glass wink control in the code

A reddit user dug deep into the code of the Google Glass companion app MyGlass Android and found hint for a wonderful future feature. It is possible that Google Glass will be controlled by a wink. For example to trigger taking a photo rather by a wink than by talking to yourself.

This feature will be optional as the code suggest “enabled” and “disabled”. Wink detection will not work for everyone out of the box and will need some calibration to trigger only if you really meant it to. It will react to winks that are unusually longer then the ordinary everyday blinks.




Google Glass wink control hardware

An other Google Glass enthusiast was curious to ask the question about the little (camera?) sensor on the inner side of google glass and got the answer that it is a proximity detector that checks if the glass is on your head to power up google glasses as soon as you put them on. It is possible that this proximity detector can also work as the wink detector if properly calibrated.

Google Glass wink control official info

Official statement by Google on the Google Glass inner sensor



With On-Head Detection enabled, Glass activates when you put it on. The touchpad is activated, notifications and head gestures are working, the display is reactive, calls can be received, and you can otherwise interact with your device.

When enabled, put Glass on and you’ll hear a rising chime. The touchpad is on, notifications chime, the display turns on, phone calls can be picked up, and you can otherwise interact with your device.

Take Glass off and you’ll hear a falling chime. Glass will deactivate. It’s still powered on, but the touchpad and display won’t operate, no chimes will sound, and Glass won’t pick up incoming phone calls. For those fleeting photo opportunities, the camera button will still work while inactive.

Conclusion on Google Glass wink control

The code and the hardware suggest that a wink cotrol is very likely to be a feature of google glass. It is uncertain if it’s already possible with the current Google Glass prototype or will be added in future versions.  It is not clear yet if this control will take effect for any other google glass application

Another hint is googles patent on eye-tracking

Methods and systems for unlocking a screen using eye tracking information are described. A computing system may include a display screen. The computing system may be in a locked mode of operation after a period of inactivity by a user. Locked mode of operation may include a locked screen and reduced functionality of the computing system. The user may attempt to unlock the screen. The computing system may generate a display of a moving object on the display screen of the computing system. An eye tracking system may be coupled to the computing system. The eye tracking system may track eye movement of the user. The computing system may determine that a path associated with the eye movement of the user substantially matches a path associated with the moving object on the display and switch to be in an unlocked mode of operation including unlocking the screen.

googles patent on eye-tracking

Google Glass wink control sources

soure: reddit
code image source: reddit user fodawim
google support: On-Head Detection

more stories on google glass apps