This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| from collections import Counter | |
| from enum import Enum | |
| from time import perf_counter, gmtime, strftime | |
| from pyglui import ui | |
| from plugin import Plugin |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| (*)~--------------------------------------------------------------------------- | |
| Pupil - eye tracking platform | |
| Copyright (C) 2012-2019 Pupil Labs | |
| Distributed under the terms of the GNU | |
| Lesser General Public License (LGPL v3.0). | |
| See COPYING and COPYING.LESSER for license details. | |
| ---------------------------------------------------------------------------~(*) | |
| """ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pathlib | |
| import numpy as np | |
| import OpenGL.GL as gl | |
| from pyglui import ui, pyfontstash | |
| from pyglui.cygl import utils as cygl_utils | |
| import gl_utils | |
| from plugin import Plugin | |
| from pupil_recording import PupilRecording |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import enum | |
| import cv2 | |
| from plugin import Visualizer_Plugin_Base | |
| import numpy as np | |
| from pyglui import ui | |
| from methods import denormalize | |
| import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import cv2 | |
| from plugin import Plugin | |
| logger = logging.getLogger(__name__) | |
| class Frame_Index(Plugin): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import collections | |
| import msgpack | |
| import numpy as np | |
| PLData = collections.namedtuple("PLData", ["data", "timestamps", "topics"]) | |