Module for connecting to cameras and hardware devices within the Telekinesis ecosystem.
Project description
GitHub • LinkedIn • X • Discord
medulla: Hardware Communication Skills
medulla is a module in the Telekinesis SDK for connecting to cameras and hardware devices. It provides tools to interface with various 2D and 3D cameras and integrate them into Telekinesis applications.
It includes:
- 2D and 3D camera interfacing
- Data acquisition and preprocessing
- Time-synchronized sensor streams
- Integration with Telekinesis modules (
vitreous,retina,cornea,pupil)
This library is used for robotics applications that require camera connectivity, including vision pipelines, multi-camera robot perception, and Physical AI agent integration.
medulla is currently in its early development phase (pre-1.0). There will be continuous minor version updates that may introduce new features and improvements. To ensure compatibility and have the latest features, please always install or upgrade to the latest version of the package.
Installation
-
Create an isolated environment to avoid dependency conflicts. We recommend installing
Minicondaby following the instructions from here. -
Create a new
condaenvironment calledtelekinesis-medulla:conda create -n telekinesis-medulla python=3.11
-
Activate the environment:
conda activate telekinesis-medulla
-
Install
medullausingpip:We currently support Python versions - 3.11, 3.12. Ensure your environment is in the specified Python version.
pip install telekinesis-medulla
-
Install the additional dependencies to run the official examples:
pip install telekinesis-medulla[examples]
Additional Setup
Camera drivers and vendor SDKs require additional installation steps. Please follow the official documentation for vendor-specific SDK setup.
IDS cameras: Installing the ids extras (pip install telekinesis-medulla[ids]) fetches ids_peak, ids_peak_ipl, and ids_peak_icv directly from IDS Imaging Development Systems GmbH's own PyPI distribution. By installing these packages, you become the licensee under the IDS Software Suite License Terms and are bound by its conditions.
Example
Run a sample Python script to quickly test your installation.
-
Create a
Pythonfile namedmedulla_example.pyin a directory of your choice and paste the following:from telekinesis.medulla.cameras import webcam camera = webcam.Webcam(name="my_webcam", camera_id=0) camera.connect() image = camera.capture_single_color_frame() print(image) camera.disconnect()
-
Activate the previously created conda environment. On a terminal, navigate to the directory where
medulla_example.pywas created and run:python medulla_example.pyExpected output: Some logs and an image from the connected webcam in the below format:
... [[[158 155 140] [159 155 142] [160 154 144] ... [255 255 252] [255 255 251] [255 255 251]] ...
Supported Cameras
| Vendor | Status |
|---|---|
| Webcam | Available |
| IDS | Available |
| ZIVID | Coming Soon |
| SensoPart | Coming Soon |
| MechMind | Coming Soon |
| Azure Kinect | Coming Soon |
| Intel RealSense | Coming Soon |
Resources
-
Examples Runnable usage examples for Medulla: Telekinesis Examples
-
Documentation Full SDK documentation and usage details: Telekinesis Documentation
-
Sample Data Datasets used across the examples: Telekinesis Data
Support
For issues and questions:
- Create an issue in the GitHub repository.
- Contact the Telekinesis development team at support@telekinesis.ai or on Discord.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telekinesis_medulla-0.1.9.tar.gz.
File metadata
- Download URL: telekinesis_medulla-0.1.9.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7de9ace06c9eb8eba9ece84efaf06b5193b53221194ed657914b8e6826b50321
|
|
| MD5 |
f3bae21fa9a3719ccea8a37d3b71e659
|
|
| BLAKE2b-256 |
8465be609e502ba7c9ae5a7a2036072d76a9747c1115be4a5f1247fb94bcacac
|
File details
Details for the file telekinesis_medulla-0.1.9-py3-none-any.whl.
File metadata
- Download URL: telekinesis_medulla-0.1.9-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c48dd38333fdd3d2cf20892054d52193b66db1e5f01f8a3ca5062a02d90a405
|
|
| MD5 |
8b3dfd2ae95a51a960fef773c601a485
|
|
| BLAKE2b-256 |
2eaf80980b1a52abba3437f5796e085944f33e68a19abb3c8234760b367c80bb
|