Metadata-Version: 2.4
Name: pupil-labs-camera
Version: 1.1.0
Summary: Utilities for handling cameras.
Project-URL: Homepage, https://pupil-labs.github.io/pl-camera
Project-URL: Documentation, https://pupil-labs.github.io/pl-camera
Project-URL: Repository, https://github.com/pupil-labs/pl-camera
Project-URL: Issues, https://github.com/pupil-labs/pl-camera/issues
Author-email: Pupil Labs GmbH <info@pupil-labs.com>
License: MIT
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <4.0,>=3.10
Requires-Dist: numpy
Requires-Dist: opencv-python>=4.11.0.86
Description-Content-Type: text/markdown

# Pupil Labs Camera

[![ci](https://github.com/pupil-labs/pl-camera/actions/workflows/main.yml/badge.svg)](https://github.com/pupil-labs/pl-camera/actions/workflows/main.yml)
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://pupil-labs.github.io/pl-camera/)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![pre-commit](https://img.shields.io/badge/pre_commit-black?logo=pre-commit&logoColor=FAB041)](https://github.com/pre-commit/pre-commit)
[![pypi version](https://img.shields.io/pypi/v/pupil-labs-camera.svg)](https://pypi.org/project/pupil-labs-camera/)
[![python version](https://img.shields.io/pypi/pyversions/pupil-labs-camera)](https://pypi.org/project/pupil-labs-camera/)

This repo contains functionality around the usage of camera intrinsics for undistorting data, and projecting and unprojecting points.

It is mostly a wrapper around OpenCV's functionality, providing type hints, input validation, a more intuitive interface, and some changes to improve computational performance.

## Installation

```
pip install pupil-labs-camera
```

or

```bash
pip install -e git+https://github.com/pupil-labs/pl-camera.git
```
