PupilLabs2D pupil detector
==========================

Algorithm and source vendored from
<https://github.com/pupil-labs/pupil-detectors>.

Reference: Kassner, M., Patera, W., Bulling, A. (2014). "Pupil: an open
source platform for pervasive eye tracking and mobile gaze-based
interaction." *UbiComp 2014 Adjunct*, 1151-1160.
<https://doi.org/10.1145/2638728.2641695>

This subdirectory is distributed under the GNU Lesser General Public
License v3.0 or later (LGPL-3.0-or-later) as inherited from
pupil-labs/pupil-detectors.

  Pupil - eye tracking platform
  Copyright (C) 2012-2019 Pupil Labs

  Distributed under the terms of the GNU Lesser General Public
  License (LGPL v3.0). Full LGPL-3.0 text:
  <https://www.gnu.org/licenses/lgpl-3.0.txt>.
  Full GPL-3.0 text (incorporated by reference):
  <https://www.gnu.org/licenses/gpl-3.0.txt>.

singleeyefitter portion
-----------------------

The C++ code under `cpp/singleeyefitter/` is in turn based on Lech
Swirski's singleeyefitter
(<https://github.com/LeszekSwirski/singleeyefitter>):

  The MIT License (MIT)

  Copyright (c) 2014 Lech Swirski

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is furnished to do so, subject to
  the following conditions:

  The above copyright notice and this permission notice shall be
  included in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Pupil Labs' modifications to Swirski's work are distributed under the
LGPLv3 as part of the Pupil project.

Reorganisation into cheshm's per-detector C++ layout, modernisation
to C++20, replacement of the Cython binding with nanobind, and the
Python wrapper:

  Copyright (c) 2026 Mohammadhossein Salari

released under the same LGPL-3.0-or-later licence as the rest of this
subdirectory.

The licence applies only to this subdirectory. The rest of cheshm is
distributed under the MIT licence (see the project root LICENSE).
