GitHub • LinkedIn • X • Discord
telekinesis-lens
telekinesis-lens is a local visual dataset studio for inspecting, annotating,
and exporting image and video datasets. Its interface runs in the browser while
a local service reads and updates files on your computer.
Feature guides: DEVELOPMENT.md.
Installation
- Create the environment. Lens supports Python 3.11 and 3.12:
conda create -n telekinesis-lens python=3.11
conda activate telekinesis-lens
- Install the package:
python -m pip install telekinesis-lens
This installs Lens with the CPU tracker runtime (telekinesis-trackers). The package includes the compiled interface, so Node.js is not needed. To work from a source checkout, follow DEVELOPMENT.md.
NVIDIA GPU tracking
Tracking runs on the CPU by default. For NVIDIA GPU tracking, install the gpu
extra. It requires a compatible NVIDIA driver:
python -m pip install "telekinesis-lens[gpu]"
Trackers installs the CPU ONNX Runtime in its base package, and the CPU and GPU runtimes share one Python module directory. Stop Lens and replace the CPU runtime:
python -m pip uninstall -y onnxruntime onnxruntime-gpu
python -m pip install "onnxruntime-gpu[cuda,cudnn]>=1.21,<1.27" "cupy-cuda12x[ctk]>=14,<15"
Check that the output lists CUDAExecutionProvider:
python -c "import onnxruntime as ort; print(ort.__version__, ort.get_available_providers())"
Reinstalling or upgrading Trackers can restore the CPU runtime. Repeat the replacement afterward if tracking switches back to the CPU.
Optional dependencies
| Extra | Purpose |
|---|---|
gpu |
NVIDIA GPU tracking with ONNX Runtime GPU, CUDA 12 user-space libraries, cuDNN, and CuPy. See NVIDIA GPU tracking. |
iris |
Telekinesis Iris with RF-DETR and SAM3 LoRA, to run, benchmark, and train your own models. |
rfdetr |
Telekinesis Iris with RF-DETR only. |
quality |
Dataset quality checks, model benchmarks, Model inference runs, and the lens-data command. |
sam3 |
Experimental SAM3 video mask propagation. Needs the model files described in DEVELOPMENT.md. |
tapnextpp |
TAPNext++ keypoint propagation. Needs PyTorch and TAPNet as described in DEVELOPMENT.md. |
dev |
pytest and HTTPX for developing Lens. |
Multiple extras can be installed together:
python -m pip install "telekinesis-lens[iris,quality]"
Synthetic data generation
The Synthetic data view renders datasets with Telekinesis Illusion and trains models on them with Iris. Illusion requires NumPy 1.x and Lens requires NumPy 2.x, so Illusion cannot be installed in the Lens environment. Install it in its own Python 3.11 environment, which does not need Lens:
conda create -n telekinesis-illusion python=3.11
conda activate telekinesis-illusion
python -m pip install "telekinesis-illusion>=0.3.1,<0.4"
Before starting Lens, set LENS_ILLUSION_PYTHON to the Python executable of
that environment. To print its path, run:
conda run -n telekinesis-illusion python -c "import sys; print(sys.executable)"
Windows PowerShell:
$env:LENS_ILLUSION_PYTHON = "C:\path\to\miniconda3\envs\telekinesis-illusion\python.exe"
lens
Linux and macOS:
export LENS_ILLUSION_PYTHON="$HOME/miniconda3/envs/telekinesis-illusion/bin/python"
lens
Training uses Iris from the Lens environment (iris extra) and needs a CUDA
build of PyTorch. To train with the Python of another environment, set
LENS_IRIS_PYTHON the same way.
Quickstart
lens
lens "/path/to/dataset-or-video"
Lens opens at http://127.0.0.1:5151. Files remain local and annotations are
saved back to the selected workspace.
Documentation
- Feature guides, contributor setup, and releases: DEVELOPMENT.md
- Release notes: CHANGELOG.md
- Telekinesis documentation: docs.telekinesis.ai
- Telekinesis examples: telekinesis-examples
- Support: open an issue in the Lens repository, or contact support@telekinesis.ai or Discord.
Metadata
Release files for telekinesis-lens 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| telekinesis_lens-0.1.3.tar.gz | 727.4 kB | Without provenance | Details for telekinesis_lens-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telekinesis_lens-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for telekinesis_lens-0.1.3-py3-none-any.whl |
Total release size: 1.4 MB
Release files / telekinesis_lens-0.1.3.tar.gz
| Download URL | telekinesis_lens-0.1.3.tar.gz |
|---|---|
| Size | 727.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5fbefe2535ec099264bb6dc4704229ac3f578ea18f776baa5567d34d87ba88f
|
|
BLAKE2b-256 checksum How to use checksums |
d21ce633654a41e2fbbff17c68826170db79627b910728ae4b5524ad820c4f66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / telekinesis_lens-0.1.3-py3-none-any.whl
| Download URL | telekinesis_lens-0.1.3-py3-none-any.whl |
|---|---|
| Size | 711.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12cac7dfe9ecd0825f2e286e2cf9fbcf64356c143938ac4d535dfc53ae18b40a
|
|
BLAKE2b-256 checksum How to use checksums |
08d27695a7f16090c24f69d3827a9f60aab4ca33229b2683c9ad0262d467ee84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Security for telekinesis-lens 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.