Skip to main content

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

  1. Create an isolated environment to avoid dependency conflicts. We recommend installing Miniconda by following the instructions from here.

  2. Create a new conda environment called telekinesis-medulla:

    conda create -n telekinesis-medulla python=3.11
    
  3. Activate the environment:

    conda activate telekinesis-medulla
    
  4. Install medulla using pip:

    We currently support Python versions - 3.11, 3.12. Ensure your environment is in the specified Python version.

    pip install telekinesis-medulla
    
  5. 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.

RealSense cameras: Installing the realsense extras (pip install telekinesis-medulla[realsense]) fetches pyrealsense2 directly from Intel's PyPI distribution. By installing this package, you become the licensee under the Intel RealSense SDK 2.0 License Terms and are bound by its conditions.

Example

Run a sample Python script to quickly test your installation.

  1. Create a Python file named medulla_example.py in a directory of your choice and paste the following:

    from telekinesis.medulla.cameras import webcam
    
    camera = webcam.Webcam(name="my_webcam_camera", camera_id=0)
    camera.connect()
    image = camera.capture_color_image()
    print(image)
    camera.disconnect()
    
  2. Activate the previously created conda environment. On a terminal, navigate to the directory where medulla_example.py was created and run:

    python medulla_example.py
    

    Expected 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
Intel RealSense Available
ZIVID Coming Soon
SensoPart Coming Soon
MechMind Coming Soon
Azure Kinect Coming Soon

Resources

Support

For issues and questions:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telekinesis_medulla-0.1.18.tar.gz (83.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telekinesis_medulla-0.1.18-py3-none-any.whl (94.3 kB view details)

Uploaded Python 3

File details

Details for the file telekinesis_medulla-0.1.18.tar.gz.

File metadata

  • Download URL: telekinesis_medulla-0.1.18.tar.gz
  • Upload date:
  • Size: 83.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for telekinesis_medulla-0.1.18.tar.gz
Algorithm Hash digest
SHA256 a505585f405f9841fc789f2add42ff1aeed5a5e2376840b89df454cdb63b50dc
MD5 1988de344e8a3c3bc1348430919c67f1
BLAKE2b-256 c17ec779673c8d1fa17f45e4e6c6ca30cdb630e0b441794065d8a8101c5ca18e

See more details on using hashes here.

File details

Details for the file telekinesis_medulla-0.1.18-py3-none-any.whl.

File metadata

File hashes

Hashes for telekinesis_medulla-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 66b10b05f98b272bd71e5d8031cb43a8b1db548a670f546c4a728f5226cca112
MD5 b228488c73cedeaa48ead28e54f9af36
BLAKE2b-256 eb58c3f96c5d90b92f31eee1bb15b5672a10a7d27fa762c5db24688d1ebd4dcc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.18 This release

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.6

2 files

0.1.5

2 files

0.1.3

2 files

0.1.2

2 files

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