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.0.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.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oak_d_actuator-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a9782e69e5ec8faf764741319912bb74f113e9a3b34bb257a994835221232697
MD5 8bad464fc9c137be728e394265707e4e
BLAKE2b-256 9c1e3358078649567e707e838d56eddb53eb178415b98f8e75998b454c69061c

See more details on using hashes here.

Provenance

The following attestation bundles were made for oak_d_actuator-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: oak_d_actuator-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54fb415ebb19c552c544c80591fb927e2ac4883eb7a0df8ecb5d74fb148e6aa0
MD5 cb6a0b64e4421130f3909e63833f5b35
BLAKE2b-256 ec1394273c7905ccfbc44fc396585cd35722f6185464bf91b733f59714b1c527

See more details on using hashes here.

Provenance

The following attestation bundles were made for oak_d_actuator-0.2.0-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