Skip to content

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-lens 0.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.

  1. Create and activate an environment, as in Step 1 of the Quickstart.

  2. Install Lens into it:

    bash
    python -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]":

ExtraAdds
gpuNVIDIA GPU video tracking. Also needs the runtime swap below.
irisIris with RF-DETR and SAM3 LoRA, to pre-label with your own trained models.
rfdetrIris with RF-DETR only.
sam3Experimental SAM3 video propagation. See SAM3 setup.

Verify the install ​

bash
lens

Lens opens in your browser at http://127.0.0.1:5151. Open a dataset from the interface, or pass one at startup:

bash
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.

  1. Install the gpu extra:

    bash
    python -m pip install "telekinesis-lens[gpu]"
  2. 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:

    bash
    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"
  3. Check that the output lists CUDAExecutionProvider:

    bash
    python -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 ​

Support ​