Skip to main content

Thin OAK-D depth+RGB wrapper for the robot-md ecosystem. RPN-000000000003.

Project description

oak-d-actuator

Thin depth+RGB wrapper for the robot-md ecosystem. RPN-000000000003.

A Python package mirroring so-arm101-actuator's API shape for OAK-D cameras (Luxonis). Lazy-imports depthai so the package installs on machines without the SDK; throws clearly when you actually try to open a device without it.

Install

pip install oak-d-actuator

Or via robot-md init auto-detect, which pip-installs this package when an OAK device is detected on the host.

Usage

from oak_d_actuator import Camera

cam = Camera()
rgb = cam.read_rgb()            # (H, W, 3) uint8 BGR
depth = cam.read_depth()        # (H, W) uint16 millimeters
intr = cam.get_intrinsics(stream="rgb")
# {'fx': ..., 'fy': ..., 'cx': ..., 'cy': ...,
#  'distortion_model': 'plumb_bob',
#  'distortion_coeffs': [...],
#  'width': 1280, 'height': 720,
#  'provenance': 'depthai factory cal'}
cam.release()

Discovery

from oak_d_actuator import discover

for dev in discover():
    print(dev.mxid, dev.product_family)

Provenance

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

oak_d_actuator-0.2.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

oak_d_actuator-0.2.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file oak_d_actuator-0.2.1.tar.gz.

File metadata

  • Download URL: oak_d_actuator-0.2.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for oak_d_actuator-0.2.1.tar.gz
Algorithm Hash digest
SHA256 903aa9e0050d4cfea7ebf43bcea04822c5ed593540c92a7640cf9dd0c5a87d37
MD5 e8a7251082b28893d3130335ce74a0bd
BLAKE2b-256 990e4d58566df5b8ebaf9673ce57bdc67d585cd8d9a80a1892477a687cc85af7

See more details on using hashes here.

Provenance

The following attestation bundles were made for oak_d_actuator-0.2.1.tar.gz:

Publisher: release.yml on RobotRegistryFoundation/oak-d-actuator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oak_d_actuator-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: oak_d_actuator-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for oak_d_actuator-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 903bb854a100132354e0fe34f58ccaada7ee751cae032a506a95db6f72f2ed68
MD5 9675f995aa723a9c73ee1d45ec4970d6
BLAKE2b-256 097021bfeb013f5962822f279849b6bb9311c904f0fbee688be04733d8ad5499

See more details on using hashes here.

Provenance

The following attestation bundles were made for oak_d_actuator-0.2.1-py3-none-any.whl:

Publisher: release.yml on RobotRegistryFoundation/oak-d-actuator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page