This gist contains modified source code and an example plugin for the Pupil Google Group as a demonstration of concept. This code runs, but is not intended for distribution (only as one potential starting point for other users who might want to further develop a plugin that saves eye images in real-time along with pupil data.
screen_cap_eye.py
- the very rough example of the plugin that could be developed to achieve eye screen captures along with other pupil data.
eye.py
- https://gist.github.com/willpatera/8574c65348194f7161a1#file-eye-py-L222-L240 -- changed the pipe format