Install the Dataset Annotation Tool
The Dataset Annotation Tool is the Data Engine's local studio for annotating image and video datasets, shipped as the telekinesis-lens Python package and launched with the lens command. It includes a compiled browser interface, so you don't need Node.js.
Requirements
- OS: Windows, Linux, macOS.
- Python: 3.11 or 3.12.
- GPU: Not needed. An NVIDIA GPU is optional, for GPU video tracking.
- Telekinesis API key: Only for the Retina and Cornea Skills in Vision tools. Set your API key.
- Environment: The SDK environment from the Quickstart.
- Tested with:
telekinesis-lens0.1.3 (the install command stays unpinned).
Install the package
Lens installs into the same environment as the SDK. Already did the Quickstart? Activate that environment and skip to substep 2.
Create and activate an environment, as in Step 1 of the Quickstart.
Install Lens into it:
bashpython -m pip install telekinesis-lens
This installs Lens with CPU video tracking. It also installs or upgrades telekinesis-ai, which the Retina and Cornea Skills in Vision tools use. Those Skills also need your Telekinesis API key.
Optionally, install extras for more features. You can combine them, for example "telekinesis-lens[iris,gpu]":
| Extra | Adds |
|---|---|
gpu | NVIDIA GPU video tracking. Also needs the runtime swap below. |
iris | Iris with RF-DETR and SAM3 LoRA, to pre-label with your own trained models. |
rfdetr | Iris with RF-DETR only. |
sam3 | Experimental SAM3 video propagation. See SAM3 setup. |
Verify the install
lensLens opens in your browser at http://127.0.0.1:5151. Open a dataset from the interface, or pass one at startup:
lens --dataset "/path/to/dataset"
lens --video "/path/to/video.mp4"Stop Lens with Ctrl+C.
Optional: enable GPU tracking
This needs an NVIDIA GPU with a compatible driver.
Install the
gpuextra:bashpython -m pip install "telekinesis-lens[gpu]"The base package installs the CPU build of ONNX Runtime, which shares a module directory with the GPU build. Stop Lens, then replace the CPU build:
bashpython -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:bashpython -c "import onnxruntime as ort; print(ort.__version__, ort.get_available_providers())"
The tracking overlay in Lens shows which device is actually in use. The first GPU frame is slower while the GPU warms up.
WARNING
Reinstalling or upgrading telekinesis-trackers can bring back the CPU runtime. If tracking switches back to the CPU, repeat step 2.
Next Steps
Dataset Annotation
See what Lens can do and which dataset formats it opens.
Explore →Annotation Editor
Draw boxes, polygons, masks, and keypoints, with keyboard shortcuts.
Start annotating →Model-Assisted Labeling
Pre-label your dataset with Telekinesis Skills or your own Iris models.
Explore →