Skip to main content

GitHub  •  LinkedIn  •  X  •  Discord

Telekinesis Axon

Telekinesis Axon is a camera calibration library for the Telekinesis ecosystem, with a C++ core (targets, calibration, geometry, quality) exposed to Python via pybind11. It supports intrinsic calibration, eye-in-hand (hand-eye) extrinsic calibration, multi-camera extrinsic calibration, and benchmarking, built on OpenCV.

The hardware-driving runtime layer (DataCollector, PerturbationSampler) stays pure Python — camera/robot SDKs are inherently async/IO-bound and don't benefit from a native rewrite.

Installation

pip install telekinesis-axon

Ships as a prebuilt wheel (Linux/Windows, Python 3.11/3.12) from Telekinesis's private package registry — no C++ toolchain needed. If you're building from source instead (e.g. contributing to axon itself), see DEVELOPMENT.md.

Targets

Define your calibration board once and pass it to any calibrator:

from telekinesis.axon.targets import ChessboardTarget, CharucoTarget, ArucoTarget

chessboard = ChessboardTarget(size=(9, 6), square_size=0.025)  # meters

charuco = CharucoTarget(
    squares_x=6,
    squares_y=9,
    square_length=0.012,
    marker_length=0.009,
    aruco_dict_id="DICT_4X4_1000",  # or the raw cv2.aruco.DICT_4X4_1000 int
)

aruco = ArucoTarget(
    board_size=(5, 7),
    marker_length=0.025,
    marker_separation=0.005,
)

Intrinsic Calibration

A single IntrinsicCalibrator dispatches on the target type you pass it — no more separate ArucoIntrinsicCalibrator / CharucoIntrinsicCalibrator subclasses or an IntrinsicBackend indirection:

from telekinesis.axon import IntrinsicCalibrator, IntrinsicOptions
from telekinesis.axon.targets import CharucoTarget

target = CharucoTarget(squares_x=6, squares_y=9, square_length=0.012, marker_length=0.009)

options = IntrinsicOptions()
options.per_view_error_threshold = 0.8

calibrator = IntrinsicCalibrator(target, options)
result = calibrator.calibrate(images)

result.ok  # bool
result.intrinsic_matrix  # (3, 3) np.ndarray
result.distortion_coefficients
result.reprojection_error
result.successful_indices
result.low_view_error_indices

Eye-in-Hand Calibration

Calibrate the transform between the camera and the robot TCP. Requires images of a calibration board alongside the robot's TCP pose (robot_T_tcp as 4×4 homogeneous matrices) for each frame.

from telekinesis.axon import EyeInHandCalibrator
from telekinesis.axon.targets import CharucoTarget

target = CharucoTarget(squares_x=6, squares_y=9, square_length=0.012, marker_length=0.009)

calibrator = EyeInHandCalibrator(target)

result = calibrator.calibrate(
    robot_T_tcp_list=robot_poses,  # list of (4, 4) np.ndarray
    image_list=images,
    method="TSAI",
)

result.ok  # bool
result.tcp_T_camera  # (4, 4) np.ndarray
result.intrinsic_matrix
result.distortion_coefficients
result.reprojection_error
result.consistency  # TargetConsistencyStats, when result.has_consistency

Pass pre-computed per-frame poses

If you have camera_T_target transforms from an external source, pass them via camera_T_target_list to skip EyeInHandCalibrator's internal solvePnP. The caller is responsible for aligning robot_T_tcp_list and image_list to it.

result = calibrator.calibrate(
    robot_T_tcp_list=robot_poses,
    image_list=images,
    camera_T_target_list=external_camera_T_target_list,
    intrinsic_matrix=K,
    distortion_coefficients=d,
)

Multi-Camera Calibration

Calibrate N ≥ 2 synchronized cameras against a reference camera via pairwise cv::stereoCalibrate, with an automatic triangulation validation pass:

from telekinesis.axon import MultiCameraCalibrator
from telekinesis.axon.targets import CharucoTarget

target = CharucoTarget(squares_x=6, squares_y=9, square_length=0.012, marker_length=0.009)

calibrator = MultiCameraCalibrator(target, num_cameras=3, reference_index=1)
result = calibrator.calibrate(image_lists)  # image_lists[cam][frame]

result.ok  # True iff every non-reference pair solved
result.reference_T_camera_list  # per-camera (4, 4) np.ndarray
result.intrinsic_matrices
result.pair_reprojection_errors

Benchmarking

Cross-validate a target/IntrinsicOptions configuration and, optionally, a hand-eye round trip:

from telekinesis.axon import CalibrationBenchmark, IntrinsicOptions
from telekinesis.axon.targets import CharucoTarget

target = CharucoTarget(squares_x=6, squares_y=9, square_length=0.012, marker_length=0.009)

bench = CalibrationBenchmark()
result = bench.run(
    images=my_images,
    target=target,
    options=IntrinsicOptions(),
    robot_poses=my_robot_poses,  # optional — enables the round-trip metric
    eye_in_hand_options=IntrinsicOptions(),  # optional
    n_splits=5,
)
CalibrationBenchmark.save_json([result], "calibration_benchmark.json")
print(CalibrationBenchmark.format_results([result]))

Output (calibration_benchmark.json):

{
  "run_timestamp": "2026-05-18T...",
  "results": [
    {
      "backend_name": "OpenCV",
      "reprojection_error": 0.42,
      "held_out_reprojection_error": 0.61,
      "hand_eye_roundtrip_error": 1.3,
      "camera_matrix": [[fx, 0, cx], [0, fy, cy], [0, 0, 1]],
      "dist_coeffs": [...]
    }
  ]
}

Resources

Support

License

Proprietary — © Telekinesis. All rights reserved.

Metadata

Release files for telekinesis-axon 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for telekinesis-axon 0.2.4
File Actions
telekinesis_axon-0.2.4-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for telekinesis_axon-0.2.4-cp312-cp312-win_amd64.whl
telekinesis_axon-0.2.4-cp312-cp312-manylinux_2_39_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ x86-64 Details for telekinesis_axon-0.2.4-cp312-cp312-manylinux_2_39_x86_64.whl
telekinesis_axon-0.2.4-cp312-cp312-macosx_12_0_arm64.whl CPython 3.12 CPython 3.12 macOS 12.0+ ARM64 Details for telekinesis_axon-0.2.4-cp312-cp312-macosx_12_0_arm64.whl
telekinesis_axon-0.2.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for telekinesis_axon-0.2.4-cp311-cp311-win_amd64.whl
telekinesis_axon-0.2.4-cp311-cp311-manylinux_2_39_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.39+ x86-64 Details for telekinesis_axon-0.2.4-cp311-cp311-manylinux_2_39_x86_64.whl
telekinesis_axon-0.2.4-cp311-cp311-macosx_12_0_arm64.whl CPython 3.11 CPython 3.11 macOS 12.0+ ARM64 Details for telekinesis_axon-0.2.4-cp311-cp311-macosx_12_0_arm64.whl

Total release size: 335.1 MB

Release files / telekinesis_axon-0.2.4-cp312-cp312-win_amd64.whl

Download URL telekinesis_axon-0.2.4-cp312-cp312-win_amd64.whl
Size 55.2 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
2cb177003d144ac25d4491694895157842b8bc0919251df7037cdf0bff12405d
BLAKE2b-256 checksum
How to use checksums
a2d20603fdddcc12c8a68c355d1b48b1c4d650120f85db12c04bce0b8a967490
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / telekinesis_axon-0.2.4-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL telekinesis_axon-0.2.4-cp312-cp312-manylinux_2_39_x86_64.whl
Size 77.4 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
53dffd8d786f3e8aa587e0cad1b0bad579bd317cc923a50127dc3f22df3fd689
BLAKE2b-256 checksum
How to use checksums
ef5b3176a7856492d6fc26d918ae1b02c7686f5d1cd945772c197b8e701eff03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / telekinesis_axon-0.2.4-cp312-cp312-macosx_12_0_arm64.whl

Download URL telekinesis_axon-0.2.4-cp312-cp312-macosx_12_0_arm64.whl
Size 35.0 MB
Tags CPython 3.12 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
38618c50ab4bc3b87d1114007e746c3b8536544e13b56bdf6ed1012a3a02f414
BLAKE2b-256 checksum
How to use checksums
ddf0bf8ee27d5492e3dbe1970a0cc49f6a2063de77902568e16de17850160290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / telekinesis_axon-0.2.4-cp311-cp311-win_amd64.whl

Download URL telekinesis_axon-0.2.4-cp311-cp311-win_amd64.whl
Size 55.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
94ab170e95ee72d0eb55a978e7883d15a1a1d02fc3b5ec4d280a7175adec4b30
BLAKE2b-256 checksum
How to use checksums
9535ff638e9e72ad3e1a52bcae8d1da39bb724f0f8111c52f13322954f1fa7ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / telekinesis_axon-0.2.4-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL telekinesis_axon-0.2.4-cp311-cp311-manylinux_2_39_x86_64.whl
Size 77.4 MB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
1db36175065f4a203ca2ac4cd2e762a65fc2e4a16a11ec23b3f3a84e84f29b17
BLAKE2b-256 checksum
How to use checksums
55b4bb30a4e130fee673ccc3d78c86994071c45bc93ac7c9c2ed4fc8d066c11e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / telekinesis_axon-0.2.4-cp311-cp311-macosx_12_0_arm64.whl

Download URL telekinesis_axon-0.2.4-cp311-cp311-macosx_12_0_arm64.whl
Size 35.0 MB
Tags CPython 3.11 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
a24953724c42b287117ba015810a81fef1c46c0b526e462404deaf58ecfbce08
BLAKE2b-256 checksum
How to use checksums
e2f344187d86011b14dc4561afd0d4d72bca515169c378e3472aa210c49828e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for telekinesis-axon 0.2.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page