by Javier » 02 Apr 2014, 11:45
We currently do not provide blink states through the API, although it's something we have in our roadmap (currently no ETA for this). It is however possible to detect blinks by using the information provided through the API, namely eye detection and face detection states.
For instance, during blinks the eyes are not detected for a few samples, but during those samples the face is detected. Once the blink is finished, the pupils are detected again more or less in the same location as before the blink. You could write a piece of software that keeps track of these state changes and assigns a "blink event" when such sequence takes place. The downside is that the blink event is assigned a posteriori, e.g. once it has already happened. Depending on your application, this might be good enough.