Skip to content

Instantly share code, notes, and snippets.

@papr
Created September 26, 2022 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save papr/9b3ba71b227bc6f092088077b334cf9c to your computer and use it in GitHub Desktop.
Save papr/9b3ba71b227bc6f092088077b334cf9c to your computer and use it in GitHub Desktop.
from pupil_detector_plugins import Detector2DPlugin
def _detector_get_init_dict(detector):
return {"properties": detector.pupil_detector.get_properties()}
Detector2DPlugin.get_init_dict = _detector_get_init_dict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment