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 and eye-to-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,
)
Eye-to-Hand Calibration
Calibrate a static camera against the robot base. Mount the calibration board rigidly on the flange, move the robot, and pass the images from the static camera with the robot's TCP poses (as reported, not inverted):
from telekinesis.axon import EyeToHandCalibrator
from telekinesis.axon.targets import CharucoTarget
target = CharucoTarget(squares_x=7, squares_y=5, square_length=0.04, marker_length=0.03)
calibrator = EyeToHandCalibrator(target)
result = calibrator.calibrate(
robot_T_tcp_list=robot_poses, # list of (4, 4) np.ndarray
image_list=images,
method="TSAI",
output_path="calibrations", # writes calibrations/eye_to_hand.json
)
result.ok # bool
result.base_T_camera # (4, 4) camera optical frame in the robot base frame
result.tcp_T_target # (4, 4) board pose on the flange, estimated alongside
result.consistency # spread of tcp_T_target across frames
The same input modes (known intrinsics, pre-computed camera_T_target_list) and joint refinement as EyeInHandCalibrator apply. examples/isaac/ renders an eye-to-hand dataset in Isaac Sim and checks the result against ground truth.
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
- Examples — Telekinesis Examples
- Documentation — Telekinesis Documentation
Support
- Open an issue on GitHub
- Contact the team at support@telekinesis.ai or on Discord
License
Proprietary — © Telekinesis. All rights reserved.
Metadata
Release files for telekinesis-axon 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 334.9 MB
Release files / telekinesis_axon-0.2.6-cp312-cp312-win_amd64.whl
| Download URL | telekinesis_axon-0.2.6-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 55.3 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
adaa2af8590db7b192bcb85a8c5afd7fc6def49cd742d20117131fd18d490f3c
|
|
BLAKE2b-256 checksum How to use checksums |
feb6d8ce06e1c3213ffb4a705aba4b58a8235bcefe965c82ed705023d9d5298a
|
| 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.6-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | telekinesis_axon-0.2.6-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 |
4bcd2a32c59035d2b440d5d1d4cce574d582f6ac345c89eceea2c069a4294567
|
|
BLAKE2b-256 checksum How to use checksums |
f5bce36107ffc22e91fbd1aa350e204f978d24f3be7a92cd015941d064cbb1ec
|
| 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.6-cp312-cp312-macosx_12_0_arm64.whl
| Download URL | telekinesis_axon-0.2.6-cp312-cp312-macosx_12_0_arm64.whl |
|---|---|
| Size | 34.7 MB |
| Tags | CPython 3.12 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9625538b28eec2aff1b23514cd90ebe10024c8a2617820b08fbb4d7b219e1851
|
|
BLAKE2b-256 checksum How to use checksums |
f7cdf109e6a14ac77c2fccc55e3e349520f215c65102bb6ae24294fbdf1d25dc
|
| 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.6-cp311-cp311-win_amd64.whl
| Download URL | telekinesis_axon-0.2.6-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 55.3 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a5b0b15ca70a71f61037e229e87d90b3a06f759f409a2a6be2191afb8d9934da
|
|
BLAKE2b-256 checksum How to use checksums |
7a8461346a5a1c4a45008a3b6f24c3f9c18441611608d04d5c238440f1687000
|
| 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.6-cp311-cp311-manylinux_2_39_x86_64.whl
| Download URL | telekinesis_axon-0.2.6-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 |
0c07765088681e4592a1c85f5fdd8f5f75772c36ef89bc90e8446b54ca2e3f7f
|
|
BLAKE2b-256 checksum How to use checksums |
6ca17eb84e34018e4833946bb37d1a8663495ce760e64a66e2ddf7051cd432f5
|
| 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.6-cp311-cp311-macosx_12_0_arm64.whl
| Download URL | telekinesis_axon-0.2.6-cp311-cp311-macosx_12_0_arm64.whl |
|---|---|
| Size | 34.7 MB |
| Tags | CPython 3.11 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
34ad762995a1f6c191260838743869450bc7bd6882c9995a8ca4d841e4e93cf7
|
|
BLAKE2b-256 checksum How to use checksums |
438cbc3a8d8cf67735ed6f6f528911be8e86d48db9ed523c87a8ff749a8ae46c
|
| 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.6
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.