Metadata-Version: 2.1
Name: telekinesis-m3t
Version: 0.1.1
Summary: M3T multi-modality 3D object tracker (Stoiber et al., DLR) as a self-contained Python extension
Author-Email: Telekinesis <support@telekinesis.ai>
License: MIT License
         
         Copyright (c) 2023 Manuel Stoiber, German Aerospace Center (DLR)
         
         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.
Requires-Python: >=3.11
Requires-Dist: numpy<3,>=1.26
Description-Content-Type: text/markdown

# telekinesis-m3t

Python bindings for [M3T](https://github.com/DLR-RM/3DObjectTracking), the
multi-body, multi-modality, multi-camera 3D object tracker by Manuel Stoiber
(German Aerospace Center, MIT License). The wheel is self-contained: OpenCV,
GLEW, GLFW and Eigen are linked statically, so only a system OpenGL driver is
needed at runtime (headless Linux needs an X server or virtual display; minimal
images also need `libgl1 libopengl0 libsm6 libice6 libxext6` or equivalents). On macOS
the tracker must be set up from the main thread (a Cocoa requirement for OpenGL windows).

Most users want the high-level tracker instead:

```sh
pip install "telekinesis-trackers[m3t]"
```

```python
from telekinesis.trackers.m3t import M3TTracker
```

## Building locally

Dependencies come from vcpkg (`vcpkg.json`, pinned to `builtin-baseline`).
With `VCPKG_ROOT` pointing at a vcpkg checkout:

```sh
pip install .                # this platform, current Python
cibuildwheel                 # all supported wheels, as in CI
```

On Windows the default triplet is `x64-windows-static-md-release`; on Linux set
`VCPKG_TARGET_TRIPLET=x64-linux`; on macOS (Apple silicon) set
`VCPKG_TARGET_TRIPLET=arm64-osx` and `brew install libomp`. The first build
compiles OpenCV (with the contrib `xfeatures2d` module used by M3T's texture
modality) and takes a while; later builds reuse vcpkg's binary cache.

Camera drivers (RealSense, Azure Kinect) are not included: pass images from
NumPy via `NumpyColorCamera` and `NumpyDepthCamera`.

## Releases

Wheels are built for Linux x86-64 (manylinux_2_28), Windows x86-64 and macOS
arm64 (macOS 15+), CPython 3.11-3.13. Development builds are published to this
project's GitLab package registry and releases to PyPI; see
[DEVELOPMENT.md](DEVELOPMENT.md) for the workflow and [CHANGELOG.md](CHANGELOG.md)
for changes.
